searchsmartly-ui 1.0.25 → 1.0.26

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.
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ import { TypographyProps } from '@mui/material/Typography/Typography';
14
14
  import * as react_jsx_runtime from 'react/jsx-runtime';
15
15
  import { Theme as Theme$1 } from '@mui/material/styles';
16
16
  import { TransitionProps } from '@mui/material/transitions';
17
- import { MapRef } from 'react-map-gl';
17
+ import { ViewState, MapRef } from 'react-map-gl';
18
18
  export { MapRef } from 'react-map-gl';
19
19
  import { FillPaint, LinePaint, MapboxGeoJSONFeature } from 'mapbox-gl';
20
20
  import { Feature, Geometry, GeoJsonProperties, BBox } from 'geojson';
@@ -621,6 +621,7 @@ type MapProps = {
621
621
  onChangeAreaTags?: (val: Record<string, string[] | unknown>, index: number, isAdd: boolean) => void;
622
622
  updateAreaTagIndex?: (val: null | number) => void;
623
623
  onViewportChange?: (viewport: MapViewport) => void;
624
+ getViewState?: () => ViewState;
624
625
  };
625
626
 
626
627
  type PinFeature = {