feat: add disabled prop to SolidButton
This commit is contained in:
1 parent
a95d63d12e
commit
85d7f4c61c
1 file changed
+2
@@ -63,12 +63,14 @@ export const SolidButton = ({
|
||||
children,
|
||||
theme = 'light',
|
||||
type = 'submit',
|
||||
disabled = false,
|
||||
onClick = undefined
|
||||
}) => (
|
||||
<StyledSolidButton
|
||||
type={type}
|
||||
className={`btn btn-${theme}`}
|
||||
onClick={onClick}
|
||||
disabled={disabled}
|
||||
>
|
||||
{children}
|
||||
</StyledSolidButton>
|
||||
|
||||
Reference in new issue
Block a user