g6/stories/Interaction/interaction.stories.tsx

12 lines
344 B
TypeScript
Raw Normal View History

// import { Button } from '@storybook/react/demo';
import { storiesOf } from '@storybook/react';
import React from 'react';
2020-02-14 10:10:54 +08:00
import MoveViewPort from './component/view-port';
export default { title: 'Interaction' };
2020-02-14 10:10:54 +08:00
storiesOf('Interaction', module).add('move view port', () => (
// 一个 add 表示添加一个 story
<MoveViewPort />
));