-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
28 lines (25 loc) · 861 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { NavigationContainer } from "@react-navigation/native"
import { ThemeProvider } from "@rneui/themed"
import * as Location from "expo-location"
import React from "react"
import { ErrorBoundary } from "./src/components/ErrorBoundary"
import { ContextStack } from "./src/contexts/ContextStack"
import RootNavigator from "./src/nav/RootNavigator"
import { SafeAreaProvider } from "react-native-safe-area-context"
import { myTheme } from "./src/lib/Theme"
Location.installWebGeolocationPolyfill()
export default function App() {
return (
<NavigationContainer>
<ErrorBoundary>
<ContextStack>
<ThemeProvider theme={myTheme}>
<SafeAreaProvider>
<RootNavigator />
</SafeAreaProvider>
</ThemeProvider>
</ContextStack>
</ErrorBoundary>
</NavigationContainer>
)
}