diff options
Diffstat (limited to 'components/Buttons/PlainButton.stories.js')
-rw-r--r-- | components/Buttons/PlainButton.stories.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/Buttons/PlainButton.stories.js b/components/Buttons/PlainButton.stories.js new file mode 100644 index 0000000..67a657d --- /dev/null +++ b/components/Buttons/PlainButton.stories.js @@ -0,0 +1,18 @@ +import { storiesOf } from '@storybook/vue' +import { center } from '../../.storybook/decorators' + +import PlainButton from './PlainButton' + +const plainButton = { + text: 'Plain Button' +} + +storiesOf('PlainButton', module) + .addDecorator(center) + .add('default', () => { + return { + components: { PlainButton }, + template: `<plain-button :text="text" />`, + data: () => plainButton + } + }) |