mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
23 lines
503 B
JavaScript
23 lines
503 B
JavaScript
import { storiesOf } from '@storybook/vue'
|
|
import helpers from '~/storybook/helpers'
|
|
import LabeledButton from './LabeledButton.vue'
|
|
|
|
helpers.init()
|
|
|
|
storiesOf('Generic/LabeledButton', module)
|
|
.addDecorator(helpers.layout)
|
|
.add('default', () => ({
|
|
components: { LabeledButton },
|
|
data: () => ({
|
|
filled: false,
|
|
}),
|
|
template: `
|
|
<labeled-button
|
|
icon="check"
|
|
:filled="filled"
|
|
label="Toggle Me!!"
|
|
@click="filled = !filled"
|
|
/>
|
|
`,
|
|
}))
|