import { storiesOf } from '@storybook/react'; import * as React from 'react'; import Chart from './components/chart'; import ClusterMarkerLayer from './components/clusterMarker'; import Marker from './components/Marker'; import MarkerLayerComponent from './components/markerlayer'; import Popup from './components/Popup'; import Scale from './components/Scale'; import Zoom from './components/Zoom'; // @ts-ignore storiesOf('UI 组件', module) .add('Zoom', () => ) .add('Scale', () => ) .add('Marker', () => ) .add('Chart', () => ) .add('Popup', () => ) .add('MarkerLayer', () => ) .add('ClusterMarkerLayer', () => );