-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
30 lines (22 loc) · 799 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
28
import { NativeBaseProvider } from "native-base";
import { NavigationContainer } from '@react-navigation/native';
import Navigation from "./navigator/navigation";
import { useState } from "react";
import MySplashScreen from "./screens/splash/splashScreen";
import { SafeAreaView } from "react-native";
import Header from "./screens/header/Header";
import SplashScreen1 from "./components/svg/splashScreen1";
const App = ()=> {
const [status,setStatus] = useState(false)
return (
<NativeBaseProvider>
<NavigationContainer>
<SafeAreaView style={{flex:1}}>
{!status ? <MySplashScreen setStatus={setStatus}/> : <Navigation/>}
</SafeAreaView>
{/* <SplashScreen1/> */}
</NavigationContainer>
</NativeBaseProvider>
);
}
export default App