import { storiesOf } from '@storybook/vue' import helpers from '~/storybook/helpers' import BaseButton from './BaseButton.vue' storiesOf('Generic/BaseButton', module) .addDecorator(helpers.layout) .add('default', () => ({ components: { BaseButton }, template: `
Click me Disabled Loading
`, })) .add('icon', () => ({ components: { BaseButton }, template: `
With Text
`, })) .add('circle', () => ({ components: { BaseButton }, template: `
EN
`, })) .add('small', () => ({ components: { BaseButton }, template: `
Small S
` })) .add('primary', () => ({ components: { BaseButton }, template: `
Primary Disabled Loading
`, })) .add('danger', () => ({ components: { BaseButton }, template: `
Danger Disabled Loading
`, }))