g6/stories/Tree/tree.stories.tsx

16 lines
555 B
TypeScript
Raw Normal View History

// import { Button } from '@storybook/react/demo';
import { storiesOf } from '@storybook/react';
import React from 'react';
2020-04-08 20:47:45 +08:00
import FlowTree from './component/flow-tree'
import TreeData from './component/tree-data';
2020-04-24 17:50:52 +08:00
import SlefTree from './component/self-tree'
import FlowComponent from './component/flow-component'
export default { title: 'Tree' };
storiesOf('Tree', module)
2020-04-08 20:47:45 +08:00
.add('flow-tree', () => <FlowTree />)
.add('tree-data', () => <TreeData />)
2020-04-24 17:50:52 +08:00
.add('register flow tree', () => <SlefTree />)
.add('FlowComponent', () => <FlowComponent />)