mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
28 lines
613 B
TypeScript
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 />
|
|
))
|
|
|