-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
31 lines (26 loc) · 712 Bytes
/
App.js
File metadata and controls
31 lines (26 loc) · 712 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
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import { NativeBaseProvider } from 'native-base';
import React, { useEffect } from 'react';
import { LogBox, StatusBar } from 'react-native';
import SplashScreen from 'react-native-splash-screen';
import AppNavigation from './src/navigation/AppNavigation';
import { Colors } from './src/styles';
const App = () => {
LogBox.ignoreAllLogs(true);
useEffect(() => {
SplashScreen.hide();
}, []);
return (
<NativeBaseProvider>
<StatusBar barStyle={'dark-content'} backgroundColor={Colors.white} />
<AppNavigation />
</NativeBaseProvider>
);
};
export default App;