Skip to content

Commit abbea42

Browse files
authored
Merge pull request #5 from DaneHarrison/main
[FIX] adds PolylinePressEvent type export
2 parents 23b61b0 + f01a93f commit abbea42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MapPolyline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export type MapPolylineProps = ViewProps & {
7676
tappable?: boolean;
7777
};
7878

79-
type PolylinePressEvent = NativeSyntheticEvent<{
79+
export type PolylinePressEvent = NativeSyntheticEvent<{
8080
action: 'polyline-press';
8181
id?: string;
8282
coordinate?: LatLng;

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export type { MapViewProps };
33
import Marker from './MapMarker';
44
import Polyline from './MapPolyline';
55
import Polygon from './MapPolygon';
6-
export type { MapPolylineProps } from './MapPolyline';
6+
export type { MapPolylineProps, PolylinePressEvent } from './MapPolyline';
77
export type { MapPolygonProps } from './MapPolygon';
88
export { default as Callout } from './MapCallout';
99
export type { MapCalloutProps } from './MapCallout';

0 commit comments

Comments
 (0)