-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
49 lines (39 loc) · 1.23 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import React from 'react';
import {
StyleSheet,
StatusBar
} from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
//SCREENS
import Splash from './pages/Splash/Splash';
import OnBoard from './pages/OnBoard/OnBoard';
import IntroSlides from './pages/IntroSlides/IntroSlides';
const Stack = createNativeStackNavigator();
const App = () => {
return (
<>
<StatusBar
animated={true}
backgroundColor="#F96E46"
hidden={false}
/>
<NavigationContainer>
<Stack.Navigator initialRouteName="">
<Stack.Screen name="Splash" options={{ headerShown: false }}>
{(propss) => <Splash {...{ ...propss }} />}
</Stack.Screen>
<Stack.Screen name="IntroSlides" options={{ headerShown: false }}>
{(propss) => <IntroSlides {...{ ...propss }} />}
</Stack.Screen>
<Stack.Screen name="OnBoard" options={{ headerShown: false }}>
{(propss) => <OnBoard {...{ ...propss }} />}
</Stack.Screen>
</Stack.Navigator>
</NavigationContainer>
</>
);
};
const styles = StyleSheet.create({
});
export default App;