g6/stories/Issues/issues.stories.tsx
2020-08-17 18:50:55 +08:00

21 lines
779 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';
import ForceLayout from './forceLayout';
import GGEditorNode from './ggeditorNode';
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 />)
.add('forcelayout', () => <ForceLayout />)
.add('ggeditor node issue', () => <GGEditorNode />);