Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/stories/SButton.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
export const configurable = () => ({
components: { SButton, SIcon },
template: `<s-button
:class="typography"
:class="withTypography ? typography : ''"
:disabled="disabled"
:loading="loading"
:tooltip="tooltip"
Expand Down Expand Up @@ -60,6 +60,9 @@ export const configurable = () => ({
content: {
default: text('Button text', 'Default')
},
withTypography: {
default: boolean('With Typography css class', false)
},
typography: {
default: text('Typographic css class', 's-typography-button--large')
},
Expand Down