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.
Buttons are used to make actions immediately visible and easy to click.
Use SButtonGroup to group multiple buttons.
If you want the button to just contain an icon, set the icon-only
prop to true
.
Prop | Type | Default Value | Required |
---|---|---|---|
color | string | "" | — |
icon-left | string | "" | — |
icon-only | boolean | false | — |
icon-right | string | "" | — |
is-loading | boolean | false | — |
native-type | string | null | — |
shade | string | "" | — |
size | string | "" | — |
type | string | "" | — |
type="submit"
), use thenative-type
prop.