Button
Name | Type | Default |
---|---|---|
children | React.ReactNode | |
disabled | boolean | false |
appearance | "primary" / "primaryLight" / "secondary" / "primaryLg" / "secondaryLg" / "minimal" / "minimalRed" / "success" | 'primary' |
buttonRef | RefObj | |
sizing | 'icon' / 'iconLg' / 'normal' / 'large' / 'grid' | 'normal' |
isLoading | boolean | |
name | string | |
as | string / React.ComponentType | |
loadingText | string / JSX.Element | |
columnAlign | boolean | |
icon | string / JSX.Element | |
type | 'button' / 'submit' / 'reset' | |
fullWidth | boolean | false |
mt | string / number | |
mr | string / number | |
mb | string / number | |
mr | string / number |