g6/stories/label/interaction.stories.tsx
2020-02-14 11:30:12 +08:00

12 lines
349 B
TypeScript

// import { Button } from '@storybook/react/demo';
import { storiesOf } from '@storybook/react';
import React from 'react';
import NodeLabelRotate from './component/node-label-rotate';
export default { title: 'Label' };
storiesOf('Label', module).add('node label rotate', () => (
// 一个 add 表示添加一个 story
<NodeLabelRotate />
));