Skip to content

Commit

Permalink
fix: App imports
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 20, 2024
1 parent d495a4f commit 2ec0b7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/examples/src/examples/Annotations/MarkerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const COORDINATES = [
[-73.99155, 40.73681],
] as [GeoJSON.Position, GeoJSON.Position];

export function MarkerViewExample() {
function MarkerViewExample() {
return (
<MapView style={sheet.matchParent}>
<Camera zoomLevel={16} centerCoordinate={COORDINATES[0]} />
Expand All @@ -63,3 +63,5 @@ export function MarkerViewExample() {
</MapView>
);
}

export { MarkerViewExample as MarkerView };
2 changes: 1 addition & 1 deletion packages/expo-app/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import App from "@maplibre-react-native/examples";
import { App } from "@maplibre-react-native/examples";
import { registerRootComponent } from "expo";

registerRootComponent(App);
2 changes: 1 addition & 1 deletion packages/react-native-app/index.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 2ec0b7a

Please sign in to comment.