2019-12-02 15:16:45 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
2021-06-18 11:29:50 +08:00
|
|
|
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';
|
2021-06-18 11:29:50 +08:00
|
|
|
import UpdatePolygon from './components/ReuseSource';
|
|
|
|
import ReuseSource from './components/ReuseSource';
|
2022-02-22 12:00:51 +08:00
|
|
|
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 />, {})
|
2020-08-07 21:18:50 +08:00
|
|
|
.add('HolePolygon', () => <HolePolygon />, {})
|
2022-02-22 12:00:51 +08:00
|
|
|
.add('更新属性', () => <UpdateProperty />, {})
|
2021-06-18 11:29:50 +08:00
|
|
|
.add('折线', () => <Line />, {})
|
|
|
|
.add('复用 Source', () => <ReuseSource />, {});
|