Button
The <Button />
component replaces <button />
tag and extends the standard props passed to a <button />
.
import { Button } from 'minerva-ui';
Variants
Variants from defaultTheme
Loading Button
Disabled Button
Props
The Button composes the PseudoBox
component so you can pass props for
PseudoBox
. These are props related to the Button component.
Name | Type | Is Required | Default | Description |
---|---|---|---|---|
disabled | boolean | optional | false | Toggles disabled pseudo class |
variant | string | optional | none | Optionally tries to use a variant style from your Theme object |
isLoading | boolean | optional | false | Displays loading spinner and disables button when true |