app/react/Map/index.tsx
/* eslint-disable react/jsx-props-no-spreading */
import loadable from '@loadable/component';
import React from 'react';
import { Map, Layer } from 'app/Map/MapContainer';
import * as helper from './helper';
const LMap = loadable(async () => {
const { LMap: LMapComponent } = await import(/* webpackChunkName: "LazyLoadMap" */ './LMap');
return (props: any) => <LMapComponent {...props} />;
});
export { default as Markers } from './Markers';
export { helper, LMap, Map };
export type { Layer };