mirror of
https://gitee.com/antv/g6.git
synced 2024-12-01 11:18:30 +08:00
26 lines
1.0 KiB
TypeScript
26 lines
1.0 KiB
TypeScript
// import { Button } from '@storybook/react/demo';
|
|
import { storiesOf } from '@storybook/react';
|
|
import React from 'react';
|
|
import MoveViewPort from './component/view-port';
|
|
import AltTab from './component/alt-tab';
|
|
import AddItem from './component/addItem';
|
|
import Tooltip from './component/tooltip';
|
|
import DragCanvas from './component/drag-canvas';
|
|
import ZoomCanvasFix from './component/zoom-canvas-fix';
|
|
import LassoSelect from './component/lasso-select';
|
|
import FishEye from './component/fisheye-lens';
|
|
import DragNodeCheckBox from './component/drag-node-checkbox';
|
|
|
|
export default { title: 'Interaction' };
|
|
|
|
storiesOf('Interaction', module)
|
|
.add('move view port', () => <MoveViewPort />)
|
|
.add('alt tab in windows', () => <AltTab />)
|
|
.add('add item', () => <AddItem />)
|
|
.add('tooltip', () => <Tooltip />)
|
|
.add('drag canvas', () => <DragCanvas />)
|
|
.add('zoom canvas fix items', () => <ZoomCanvasFix />)
|
|
.add('lasso select', () => <LassoSelect />)
|
|
.add('fisheye', () => <FishEye />)
|
|
.add('drag node checkbox', () => <DragNodeCheckBox />);
|