-
Notifications
You must be signed in to change notification settings - Fork 3
/
App.tsx
28 lines (27 loc) · 931 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 React from 'react'
import { NavigationContainer } from '@react-navigation/native'
import Layout from '@/layouts/layout'
import PaperProvider from '@/shared/providers/paper'
import { Provider } from 'react-redux'
import { ReactQueryProvider } from '@/shared/providers/react-query'
import { persistor, store } from '@/store'
import { PersistGate } from 'redux-persist/integration/react'
import { NativeBaseProvider } from 'native-base'
import 'react-native-gesture-handler'
export default function App() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ReactQueryProvider>
<PaperProvider>
<NavigationContainer>
<NativeBaseProvider>
<Layout />
</NativeBaseProvider>
</NavigationContainer>
</PaperProvider>
</ReactQueryProvider>
</PersistGate>
</Provider>
)
}