g6/stories/Plugins/plugins.stories.tsx
2020-08-17 18:50:55 +08:00

24 lines
833 B
TypeScript

// import { Button } from '@storybook/react/demo';
import { storiesOf } from '@storybook/react';
import React from 'react';
import Grid from './component/grid';
import Minimap from './component/minimap';
import MinimapForce from './component/minimap-force';
import ImgMinimap from './component/image-minimap';
import ImgMinimap2 from './component/image-minimap2';
import Tooltip from './component/tooltip';
import ContextMenu from './component/comtextMenu';
export default { title: 'Plugins' };
storiesOf('Plugins', module)
.add('grid', () => <Grid />)
.add('minimap', () => <Minimap />)
.add('minimap force', () => <MinimapForce />)
.add('image minimap', () => <ImgMinimap />)
.add('image minimap small graph', () => <ImgMinimap2 />)
.add('tooltip', () => <Tooltip />)
.add('context menu', () => <ContextMenu />);