mirror of https://gitee.com/antv-l7/antv-l7
19 lines
742 B
TypeScript
19 lines
742 B
TypeScript
import { storiesOf } from '@storybook/react';
|
|
import * as React from 'react';
|
|
import HolePolygon from './components/hole';
|
|
import Line from './components/line';
|
|
import MultiLine from './components/multiLine';
|
|
import MultiPolygon from './components/multiPolygon';
|
|
import UpdatePolygon from './components/ReuseSource';
|
|
import ReuseSource from './components/ReuseSource';
|
|
// @ts-ignore
|
|
import notes from './Map.md';
|
|
// @ts-ignore
|
|
storiesOf('数据', module)
|
|
.add('multiPolygon', () => <MultiPolygon />, {})
|
|
.add('updatePolygon', () => <UpdatePolygon />, {})
|
|
.add('MultiLine', () => <MultiLine />, {})
|
|
.add('HolePolygon', () => <HolePolygon />, {})
|
|
.add('折线', () => <Line />, {})
|
|
.add('复用 Source', () => <ReuseSource />, {});
|