g6/stories/Issues/issues.stories.tsx
2020-04-14 18:29:00 +08:00

28 lines
613 B
TypeScript

import { storiesOf } from '@storybook/react';
import React from 'react';
import DragCanvas from './component/drag-canvas';
import DagreArrow from './component/dagre-arrow';
import ChageData from './changeData'
import ChangeAttr from './attrs'
import DomClick from './component/dom-click'
export default { title: 'Issues' };
storiesOf('Issues', module)
.add('drag canvas and shift tab', () => (
<DragCanvas />
))
.add('dagre polyline arrow', () => (
<DagreArrow />
))
.add('change data', () => (
<ChageData />
))
.add('change attr', () => (
<ChangeAttr />
))
.add('dom click', () => (
<DomClick />
))