diff --git a/packages/examples/src/examples/Annotations/MarkerView.tsx b/packages/examples/src/examples/Annotations/MarkerView.tsx index 841c3583..e4ba5f0a 100644 --- a/packages/examples/src/examples/Annotations/MarkerView.tsx +++ b/packages/examples/src/examples/Annotations/MarkerView.tsx @@ -48,7 +48,7 @@ const COORDINATES = [ [-73.99155, 40.73681], ] as [GeoJSON.Position, GeoJSON.Position]; -export function MarkerViewExample() { +function MarkerViewExample() { return ( @@ -63,3 +63,5 @@ export function MarkerViewExample() { ); } + +export { MarkerViewExample as MarkerView }; diff --git a/packages/expo-app/index.js b/packages/expo-app/index.js index d2030392..a88d16f2 100644 --- a/packages/expo-app/index.js +++ b/packages/expo-app/index.js @@ -1,4 +1,4 @@ -import App from "@maplibre-react-native/examples"; +import { App } from "@maplibre-react-native/examples"; import { registerRootComponent } from "expo"; registerRootComponent(App); diff --git a/packages/react-native-app/index.js b/packages/react-native-app/index.js index 47bf771d..0268d26b 100644 --- a/packages/react-native-app/index.js +++ b/packages/react-native-app/index.js @@ -1,4 +1,4 @@ -import App from "@maplibre-react-native/examples"; +import { App } from "@maplibre-react-native/examples"; import { AppRegistry } from "react-native"; import { name as appName } from "./app.json";