-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
26 lines (22 loc) · 852 Bytes
/
App.tsx
File metadata and controls
26 lines (22 loc) · 852 Bytes
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
import 'react-native-gesture-handler'
import 'react-native-get-random-values'
import React from 'react'
import { Provider } from 'react-redux'
import { LogBox } from 'react-native'
import store from './app/store'
import AppNavigation from './app/navigation/AppNavigation/AppNavigation'
import ThemeProvider from './app/components/ThemeProvider/ThemeProvider'
LogBox.ignoreLogs([
'Non-serializable values were found in the navigation state',
'Support for defaultProps will be removed from function components',
'Support for defaultProps will be removed from function components in a future major release. Use Javascript default parameters instead'
])
export default function App(): React.ReactElement | null {
return (
<Provider store={store}>
<ThemeProvider>
<AppNavigation />
</ThemeProvider>
</Provider>
)
}