mirror of
https://gitee.com/antv/g6.git
synced 2024-12-01 11:18:30 +08:00
12 lines
348 B
TypeScript
12 lines
348 B
TypeScript
// import { Button } from '@storybook/react/demo';
|
|
import { storiesOf } from '@storybook/react';
|
|
import React from 'react';
|
|
import MoveViewPort from './component/view-port'
|
|
|
|
export default { title: 'Interaction' };
|
|
|
|
|
|
storiesOf('Interaction', module)
|
|
.add('move view port', () => ( // 一个 add 表示添加一个 story
|
|
<MoveViewPort />
|
|
)) |