import { storiesOf } from '@storybook/react'; import * as React from 'react'; import DrawCircle from './Components/DrawCircle'; import DrawPolygon from './Components/DrawPolygon'; import DrawRect from './Components/DrawRect'; storiesOf('绘制', module) .add('绘制圆', () => , {}) .add('四边形', () => , {}) .add('绘制面', () => , {});