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