mirror of
https://gitee.com/antv/g6.git
synced 2024-12-01 03:08:33 +08:00
24 lines
833 B
TypeScript
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 />);
|