diff --git a/packages/ez-react/src/recipes/map/BubbleMapChart.tsx b/packages/ez-react/src/recipes/map/BubbleMapChart.tsx index eaa00f0..50c3c85 100644 --- a/packages/ez-react/src/recipes/map/BubbleMapChart.tsx +++ b/packages/ez-react/src/recipes/map/BubbleMapChart.tsx @@ -10,7 +10,13 @@ import { MapBubbles } from '@/components/MapBubbles'; export interface BubbleMapChartProps extends MapChartProps { bubble: BubbleConfig; - layers?: GeoJsonData[]; + layers?: Array<{ + geoJson: GeoJsonData; + map: { + stroke: string; + fill: string; + }; + }>; } export const BubbleMapChart: FC = ({ @@ -74,7 +80,14 @@ export const BubbleMapChart: FC = ({ range={bubble.colors} > {layers.map((layer, idx) => ( - + ))}