forked from Path-Check/safeplaces-dct-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
32 lines (27 loc) · 658 Bytes
/
Copy pathApp.js
File metadata and controls
32 lines (27 loc) · 658 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
*/
import React, { useEffect } from 'react';
import { MenuProvider } from 'react-native-popup-menu';
import SplashScreen from 'react-native-splash-screen';
import { Theme } from './app/constants/themes';
import Entry from './app/Entry';
import VersionCheckService from './app/services/VersionCheckService';
const App = () => {
useEffect(() => {
SplashScreen.hide();
VersionCheckService.start();
}, []);
return (
<MenuProvider>
<Theme use='default'>
<Entry />
</Theme>
</MenuProvider>
);
};
export default App;