Latest Changes - Logger, Size and Colors

This commit is contained in:
Belen Curcio
2020-10-17 09:07:02 -03:00
parent 5e4686bdd4
commit a42c67a898
11 changed files with 147 additions and 70 deletions

View File

@@ -32,6 +32,7 @@ const Button: React.FC<ButtonProps> = forwardRef((props, buttonRef) => {
width,
Component = 'button',
loading = false,
style = {},
...rest
} = props
const ref = useRef<typeof Component>(null)
@@ -63,6 +64,7 @@ const Button: React.FC<ButtonProps> = forwardRef((props, buttonRef) => {
{...buttonProps}
style={{
width,
...style,
}}
data-active={isPressed ? '' : undefined}
>