-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
31 lines (26 loc) · 917 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
import 'react-native-get-random-values'
import { NavigationContainer } from '@react-navigation/native'
import * as SplashScreen from 'expo-splash-screen'
import React from 'react'
import { LogBox } from 'react-native'
import { SafeAreaProvider } from 'react-native-safe-area-context'
import { Provider as ReduxProvider } from 'react-redux'
import { navigationRef } from './src/common/navigation'
import { AppNavigator } from './src/navigation'
import { store } from './src/store'
import { ThemeProvider } from './src/styles/Theme'
SplashScreen.preventAutoHideAsync()
LogBox.ignoreAllLogs(true)
export default function App() {
return (
<SafeAreaProvider>
<ReduxProvider store={store}>
<NavigationContainer ref={navigationRef}>
<ThemeProvider>
<AppNavigator />
</ThemeProvider>
</NavigationContainer>
</ReduxProvider>
</SafeAreaProvider>
)
}