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-03-16 16:24:59 +00:00
|
|
|
import SingleStory from './single.stories.vue';
|
|
|
|
import Event from './event.stories.vue';
|
2018-01-09 23:57:25 +00:00
|
|
|
|
|
|
|
const stories = storiesOf('SvgPanZoom', module)
|
|
|
|
.addDecorator( withKnobs )
|
2018-03-16 16:24:59 +00:00
|
|
|
.add('single inline SVG', () => SingleStory)
|
|
|
|
.add('event', () => Event )
|
2018-01-15 23:51:23 +00:00
|
|
|
.add( 'layers', () => LayerStory )
|
2018-01-23 00:58:23 +00:00
|
|
|
.add( 'thumbnail -- needs to be first story loaded to work', () => ThumbnailStory )
|
2018-01-15 23:51:23 +00:00
|
|
|
;
|