-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathApp.tsx
35 lines (32 loc) · 918 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
32
33
34
35
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import configureStore from './src/redux/store.ts';
import { Provider } from 'react-redux';
import Navigation from './src/navigation/AppNavigation';
import NetworkConnection from './src/utils/NetworkConnection';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { I18nextProvider } from 'react-i18next';
import { PaperProvider } from 'react-native-paper';
import i18n from 'i18next';
const store = configureStore();
const App = () => {
return (
<Provider store={store}>
<PaperProvider>
<I18nextProvider i18n={i18n}>
<SafeAreaProvider>
<Navigation />
<NetworkConnection />
</SafeAreaProvider>
</I18nextProvider>
</PaperProvider>
</Provider>
);
};
export default App;