-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
32 lines (28 loc) · 698 Bytes
/
Copy pathApp.js
File metadata and controls
32 lines (28 loc) · 698 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
29
30
31
32
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React, {useEffect} from 'react';
import {Provider} from 'react-redux';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import SplashScreen from 'react-native-splash-screen';
import Bar from '@myapp/components/status-bar';
import Navigation from '@myapp/navigations';
import store from '@myapp/reduxs/store';
const App = () => {
useEffect(() => {
SplashScreen.hide();
}, []);
return (
<Provider store={store}>
<Bar />
<SafeAreaProvider>
<Navigation />
</SafeAreaProvider>
</Provider>
);
};
export default App;