antv-l7/stories/Source/Map.stories.tsx

21 lines
852 B
TypeScript
Raw Normal View History

2019-12-02 15:16:45 +08:00
import { storiesOf } from '@storybook/react';
import * as React from 'react';
import HolePolygon from './components/hole';
2020-02-25 20:35:43 +08:00
import Line from './components/line';
2019-12-02 15:16:45 +08:00
import MultiLine from './components/multiLine';
2020-01-21 17:19:30 +08:00
import MultiPolygon from './components/multiPolygon';
import UpdatePolygon from './components/ReuseSource';
import ReuseSource from './components/ReuseSource';
import UpdateProperty from './components/updateproperty'
2019-12-02 15:16:45 +08:00
// @ts-ignore
import notes from './Map.md';
// @ts-ignore
storiesOf('数据', module)
.add('multiPolygon', () => <MultiPolygon />, {})
2020-01-21 17:19:30 +08:00
.add('updatePolygon', () => <UpdatePolygon />, {})
2020-02-25 20:35:43 +08:00
.add('MultiLine', () => <MultiLine />, {})
.add('HolePolygon', () => <HolePolygon />, {})
.add('更新属性', () => <UpdateProperty />, {})
.add('折线', () => <Line />, {})
.add('复用 Source', () => <ReuseSource />, {});