feat: add disabled prop to SolidButton
This commit is contained in:
@@ -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