g6/stories/Shape/shape.stories.tsx
2020-03-09 18:18:29 +08:00

31 lines
721 B
TypeScript

// import { Button } from '@storybook/react/demo';
import { storiesOf } from '@storybook/react';
import React from 'react';
import DefaultShape from './component/default-shape';
<<<<<<< HEAD
import Image from './component/image';
=======
import CustomNode from './component/custom-node';
>>>>>>> test: svg custom group
export default { title: 'Shape' };
storiesOf('Shape', module)
<<<<<<< HEAD
.add('default node', () => (
// 一个 add 表示添加一个 story
<DefaultShape />
))
.add('image node', () => (
// 一个 add 表示添加一个 story
<Image />
))
=======
.add('default node', () => (
<DefaultShape />
))
.add('custom node', () => (
<CustomNode />
))
>>>>>>> test: svg custom group