about summary refs log tree commit diff
path: root/components/Buttons/PlainButton.stories.js
blob: 67a657dba7f775fd51a2591a315c13924b7a0e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
    }
  })