-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
28 lines (22 loc) · 668 Bytes
/
App.js
File metadata and controls
28 lines (22 loc) · 668 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
27
28
import "react-native-gesture-handler";
import React, { useEffect } from 'react';
import SplashScreen from 'react-native-splash-screen'
import { NavigationContainer } from "@react-navigation/native";
import OfflineNotice from './src/component/OfflineNotice';
import MainNavigator from './src/navigator/MainNavigator';
import { Provider } from 'react-redux';
import store from './src/store/store';
const App = () => {
useEffect(() => {
SplashScreen.hide();
}, []);
return (
<Provider store={store}>
<NavigationContainer>
<MainNavigator />
<OfflineNotice />
</NavigationContainer>
</Provider>
);
}
export default App;