react-map-gl
Advanced tools
Comparing version 7.0.8 to 7.0.9
@@ -5,2 +5,6 @@ # CHANGELOG | ||
## 7.0.9 (Mar 3, 2022) | ||
- Make onClick prop of MarkerProps optional (#1789) | ||
## 7.0.8 (Mar 1, 2022) | ||
@@ -7,0 +11,0 @@ |
@@ -54,3 +54,3 @@ /// <reference types="mapbox-gl" /> | ||
style?: React.CSSProperties; | ||
onClick: (e: MapboxEvent<MouseEvent>) => void; | ||
onClick?: (e: MapboxEvent<MouseEvent>) => void; | ||
onDragStart?: (e: MarkerDragEvent) => void; | ||
@@ -57,0 +57,0 @@ onDrag?: (e: MarkerDragEvent) => void; |
@@ -54,3 +54,3 @@ /// <reference types="mapbox-gl" /> | ||
style?: React.CSSProperties; | ||
onClick: (e: MapboxEvent<MouseEvent>) => void; | ||
onClick?: (e: MapboxEvent<MouseEvent>) => void; | ||
onDragStart?: (e: MarkerDragEvent) => void; | ||
@@ -57,0 +57,0 @@ onDrag?: (e: MarkerDragEvent) => void; |
{ | ||
"name": "react-map-gl", | ||
"description": "React components for Mapbox GL JS-compatible libraries", | ||
"version": "7.0.8", | ||
"version": "7.0.9", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "mapbox", |
@@ -70,3 +70,3 @@ /* global document */ | ||
style?: React.CSSProperties; | ||
onClick: (e: MapboxEvent<MouseEvent>) => void; | ||
onClick?: (e: MapboxEvent<MouseEvent>) => void; | ||
onDragStart?: (e: MarkerDragEvent) => void; | ||
@@ -73,0 +73,0 @@ onDrag?: (e: MarkerDragEvent) => void; |
428821