Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Uses the standard HTML button.
Name | Description | Default | Control |
---|---|---|---|
props | |||
variant | The variant of the button (changes the style) string | "primary" | |
label | The text inside the button string | - | |
icon | The icon to be used inside the button string | - | |
iconRight | Sets the icon to the right of the text boolean | false | |
size | Sets the size of the button string | "default" | |
type | Sets the type of the button (button, reset, submit) string | "button" | |
disabled | Disable the button boolean | false | |
processing | Places the button in a processing state boolean | false | |
error | Places the button in a error state boolean | false | |
events | |||
click | unknown | - |