Skip to content

Commit

Permalink
Merge pull request #5 from DaneHarrison/main
Browse files Browse the repository at this point in the history
[FIX] adds PolylinePressEvent type export
  • Loading branch information
Splicer97 authored Sep 3, 2024
2 parents 23b61b0 + f01a93f commit abbea42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MapPolyline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export type MapPolylineProps = ViewProps & {
tappable?: boolean;
};

type PolylinePressEvent = NativeSyntheticEvent<{
export type PolylinePressEvent = NativeSyntheticEvent<{
action: 'polyline-press';
id?: string;
coordinate?: LatLng;
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export type { MapViewProps };
import Marker from './MapMarker';
import Polyline from './MapPolyline';
import Polygon from './MapPolygon';
export type { MapPolylineProps } from './MapPolyline';
export type { MapPolylineProps, PolylinePressEvent } from './MapPolyline';
export type { MapPolygonProps } from './MapPolygon';
export { default as Callout } from './MapCallout';
export type { MapCalloutProps } from './MapCallout';
Expand Down

0 comments on commit abbea42

Please sign in to comment.