-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
28 lines (26 loc) · 823 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 {Provider} from 'react-redux';
import {AuthProvider} from './src/hooks/useAuth';
import {AppServicesProvider} from './src/hooks/useServices';
import AppNav from './src/presentation/views/AppNav';
import {NativeBaseProvider} from 'native-base';
import {BottomSheetModalProvider} from '@gorhom/bottom-sheet';
import {store} from './src/store/store';
import Toast from 'react-native-toast-message';
const App = () => {
return (
<Provider store={store}>
<AuthProvider>
<AppServicesProvider>
<NativeBaseProvider>
<BottomSheetModalProvider>
<AppNav />
</BottomSheetModalProvider>
</NativeBaseProvider>
</AppServicesProvider>
</AuthProvider>
<Toast />
</Provider>
);
};
export default App;