mirror of https://github.com/acid-info/lsd.git
fix: adds disabled logic
This commit is contained in:
parent
0cc80751a3
commit
774ffd95fe
|
@ -37,6 +37,7 @@ export const ButtonGroup: React.FC<ButtonGroupProps> & {
|
|||
...child.props,
|
||||
size,
|
||||
variant,
|
||||
disabled: props.disabled || child.props.disabled,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue