-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
27 lines (25 loc) · 785 Bytes
/
App.js
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
import React, { useEffect } from 'react';
import Navigation from './navigation/Navigation';
import { NavigationContainer } from '@react-navigation/native';
import { Dimensions, View, StatusBar } from 'react-native';
import SplashScreen from 'react-native-splash-screen';
export default function App() {
useEffect (()=>{
// do stuff while splash screen is shown
// After having done stuff (such as async tasks) hide the splash screen
SplashScreen.hide();
});
return (
<>
<StatusBar
barStyle="light-content"
backgroundColor="#000"
/>
<View style={{height:Dimensions.get('window').height,backgroundColor:'lightblue'}}>
<NavigationContainer >
<Navigation/>
</NavigationContainer>
</View>
</>
)
}