-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
20 lines (18 loc) · 629 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import {Provider} from 'react-redux';
import {PersistGate} from 'redux-persist/integration/react';
import {persistor, store} from './src/Redux/Store';
import {GestureHandlerRootView} from 'react-native-gesture-handler';
import {RootNavigation} from './src/Navigation';
import Loading from './src/Components/UIComp/Loading';
const App = () => {
return (
<GestureHandlerRootView style={{flex: 1}}>
<Provider store={store}>
<PersistGate loading={<Loading />} persistor={persistor}>
<RootNavigation />
</PersistGate>
</Provider>
</GestureHandlerRootView>
);
};
export default App;