1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { storiesOf } from '@storybook/vue'; 
import { withKnobs, select, boolean } from '@storybook/addon-knobs';

import pcInput from './pcInput.vue';

storiesOf('Components|pcInput', module)
  .addDecorator(withKnobs)
.add('Default', () => ({ components: { pcInput }, data() { return { value: '' } }, template: `<pcInput label="First Name" :value="value" />`, }));