@conboai/storybook.components 0.6.58 → 0.6.59

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.
@@ -8,11 +8,12 @@ interface IPolyline {
8
8
  startMarkerLabel?: string | google.maps.MarkerLabel;
9
9
  endMarkerLabel?: string | google.maps.MarkerLabel;
10
10
  onChange?: (polygonPath: CoordinatePoint[], id: string, isComplete: boolean) => void;
11
+ onClick?: (geoData: GeoType) => void;
11
12
  data?: GeoType | null;
12
13
  showNumbers?: boolean;
13
14
  showOnlyPoints?: boolean;
14
15
  scaleNumber?: number;
15
16
  zIndex?: number;
16
17
  }
17
- declare const Polyline: React.MemoExoticComponent<({ zoom: zoomFromProps, showDirection, showEndDirection, startMarkerLabel, endMarkerLabel, onChange: onChangeFromProps, data, showNumbers, showOnlyPoints, scaleNumber, zIndex }: IPolyline) => React.JSX.Element>;
18
+ declare const Polyline: React.MemoExoticComponent<({ zoom: zoomFromProps, showDirection, showEndDirection, startMarkerLabel, endMarkerLabel, onChange: onChangeFromProps, onClick: onClickFromProps, data, showNumbers, showOnlyPoints, scaleNumber, zIndex }: IPolyline) => React.JSX.Element>;
18
19
  export default Polyline;