Skip to content

Commit

Permalink
Merge pull request #419 from act-org/IC-4087
Browse files Browse the repository at this point in the history
fix: Change mapPopupProps to be Partial
  • Loading branch information
ptakizawa-daitan committed May 8, 2024
2 parents 5010b2d + 3155f79 commit 5eb88c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/CountyMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface CountyMapProps {
data: Array<IMapDataProps>;
geoJSONPath: string;
mapboxAccessToken: string;
mapPopupProps?: Omit<MapPopupProps, 'popupProps'>;
mapPopupProps?: Partial<MapPopupProps>;
mapProps?: Omit<Partial<MapProps>, 'mapboxAccessToken'>;
onHoverInfo?: FeatureHoverProps;
processDataFn?: (
Expand Down
2 changes: 1 addition & 1 deletion src/components/GeomarketMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface GeomarketMapProps {
data: Array<IMapDataProps>;
geoJSONPath: string;
mapboxAccessToken: string;
mapPopupProps?: Omit<MapPopupProps, 'popupProps'>;
mapPopupProps?: Partial<MapPopupProps>;
mapProps?: Omit<Partial<MapProps>, 'mapboxAccessToken'>;
onHoverInfo?: FeatureHoverProps;
processDataFn?: (
Expand Down
2 changes: 1 addition & 1 deletion src/components/HeatMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface HeatMapProps {
color?: string;
data?: GeoJSON.FeatureCollection<GeoJSON.Geometry>;
mapboxAccessToken: string;
mapPopupProps?: Omit<MapPopupProps, 'popupProps'>;
mapPopupProps?: Partial<MapPopupProps>;
mapProps?: Omit<Partial<MapProps>, 'mapboxAccessToken'>;
onHoverInfo?: FeatureHoverProps;
setOnHoverInfo?: (newHoverInfo: FeatureHoverProps | undefined) => void;
Expand Down
2 changes: 1 addition & 1 deletion src/components/SCFMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface SCFMapProps {
data: Array<IMapDataProps>;
geoJSONPath: string;
mapboxAccessToken: string;
mapPopupProps?: Omit<MapPopupProps, 'popupProps'>;
mapPopupProps?: Partial<MapPopupProps>;
mapProps?: Omit<Partial<MapProps>, 'mapboxAccessToken'>;
onHoverInfo?: FeatureHoverProps;
processDataFn?: (
Expand Down
2 changes: 1 addition & 1 deletion src/components/StateMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface StateMapProps {
data: Array<IMapDataProps>;
geoJSONPath: string;
mapboxAccessToken: string;
mapPopupProps?: Omit<MapPopupProps, 'popupProps'>;
mapPopupProps?: Partial<MapPopupProps>;
mapProps?: Omit<Partial<MapProps>, 'mapboxAccessToken'>;
onHoverInfo?: FeatureHoverProps;
processDataFn?: (
Expand Down

0 comments on commit 5eb88c3

Please sign in to comment.