-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
31 lines (28 loc) · 811 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
29
30
31
/* eslint-disable camelcase */
import { StatusBar } from 'expo-status-bar'
import { NavigationContainer } from '@react-navigation/native'
import TabNavigation from './src/navigations/TabNavigation'
import { colors } from './src/theme/colors'
import { UserLocationProvider } from './src/context/UserLocationContext'
import {
Outfit_400Regular,
Outfit_600SemiBold,
useFonts,
} from '@expo-google-fonts/outfit'
export default function App() {
const [fontsLoaded] = useFonts({
Outfit_400Regular,
Outfit_600SemiBold,
})
if (!fontsLoaded) {
return null
}
return (
<NavigationContainer>
<UserLocationProvider>
<TabNavigation />
<StatusBar style="dark" translucent backgroundColor={colors.white} />
</UserLocationProvider>
</NavigationContainer>
)
}