blob: 43efa24049fbd588842fa5387a410dbbb687e4c1 (
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('Buttons/PlainButton', module)
.addDecorator(center)
.add('default', () => {
return {
components: { PlainButton },
template: `<plain-button :text="text" />`,
data: () => plainButton
}
})
|