@conboai/storybook.components 0.4.44 → 0.4.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GeoComponentProps } from './types';
|
|
3
3
|
|
|
4
|
-
declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, showOnlyPoints, initialCenter, center: centerFromProps, zoom: zoomFromProps }: GeoComponentProps) => React.JSX.Element;
|
|
4
|
+
declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, showOnlyPoints, initialCenter, center: centerFromProps, zoom: zoomFromProps, }: GeoComponentProps) => React.JSX.Element;
|
|
5
5
|
export default Geo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material';
|
|
3
|
-
import { GeoType } from '../Geo/types';
|
|
3
|
+
import { CoordinatePoint, GeoType } from '../Geo/types';
|
|
4
4
|
|
|
5
5
|
export interface MapPlayerProps {
|
|
6
6
|
data: any[];
|
|
@@ -27,6 +27,7 @@ export interface MapPlayerProps {
|
|
|
27
27
|
getCurrentTime?: (value: string) => void;
|
|
28
28
|
onSelectPoint?: (geo: GeoType) => void;
|
|
29
29
|
selectedGeoId?: string | null;
|
|
30
|
+
center?: CoordinatePoint;
|
|
30
31
|
}
|
|
31
32
|
declare const MapPlayer: React.FC<MapPlayerProps>;
|
|
32
33
|
export default MapPlayer;
|