Skip to content

Commit dc65623

Browse files
committed
Export callout directly
1 parent c85f5b5 commit dc65623

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/maps/src/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
export { MapView, MapMarker, MapCallout } from "./components";
1+
export { MapView, MapMarker } from "./components";
2+
3+
// Has to be exported directly, otherwise can be considered a custom marker and not a callout
4+
export { Callout as MapCallout } from "./components/react-native-maps";

0 commit comments

Comments
 (0)