antv-l7/stories/React/React.stories.tsx

21 lines
1.0 KiB
TypeScript
Raw Normal View History

2020-02-11 20:31:55 +08:00
import { storiesOf } from '@storybook/react';
import * as React from 'react';
import GaodeMapScene from './components/Scene';
import WorldMap from './components/world';
2020-03-11 14:49:39 +08:00
import WorldExtrueMap from './components/world_ncov';
import WorldBubbleMap from './components/world_ncov_bubble';
import WorldBubbleAnimateMap from './components/world_ncov_bubble_animate';
import WorldColumnMap from './components/world_ncov_column';
import WorldFillMap from './components/world_ncov_fill';
2020-02-11 20:31:55 +08:00
// @ts-ignore
storiesOf('React', module).add('高德地图', () => <GaodeMapScene />);
storiesOf('React', module).add('世界地图', () => <WorldMap />);
2020-03-11 14:49:39 +08:00
storiesOf('React', module).add('疫情地图-填充图', () => <WorldFillMap />);
storiesOf('React', module).add('疫情地图-气泡图', () => <WorldBubbleMap />);
storiesOf('React', module).add('疫情地图-3D柱图', () => <WorldColumnMap />);
storiesOf('React', module).add('疫情地图- 3D填充', () => <WorldExtrueMap />);
storiesOf('React', module).add('疫情地图- 气泡动画', () => (
<WorldBubbleAnimateMap />
));