2020-02-11 20:31:55 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import GaodeMapScene from './components/Scene';
|
2020-02-28 11:51:45 +08:00
|
|
|
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 />);
|
2020-02-28 11:51:45 +08:00
|
|
|
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 />
|
|
|
|
));
|