2018-01-09 23:57:25 +00:00
|
|
|
import { storiesOf } from '@storybook/vue';
|
|
|
|
import { withKnobs, text, number, boolean } from '@storybook/addon-knobs';
|
2018-01-15 23:40:59 +00:00
|
|
|
import SvgPanZoom from './index';
|
2018-01-09 23:57:25 +00:00
|
|
|
|
|
|
|
import RawTiger from './RawTiger.vue';
|
|
|
|
|
|
|
|
import LayerStory from './layers.stories.vue';
|
|
|
|
import ThumbnailStory from './thumbnail.stories.vue';
|
2018-01-15 23:51:23 +00:00
|
|
|
import SingleStory from './single.stories.vue';
|
2018-01-09 23:57:25 +00:00
|
|
|
|
|
|
|
const stories = storiesOf('SvgPanZoom', module)
|
|
|
|
.addDecorator( withKnobs )
|
2018-01-15 23:51:23 +00:00
|
|
|
.add('single inline SVG',
|
|
|
|
() => SingleStory
|
2018-01-09 23:57:25 +00:00
|
|
|
)
|
2018-01-15 23:51:23 +00:00
|
|
|
.add( 'layers', () => LayerStory )
|
|
|
|
.add( 'thumbnail', () => ThumbnailStory )
|
|
|
|
;
|