-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
34 lines (29 loc) · 913 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
29
30
31
32
33
34
import 'react-native-gesture-handler';
import React from 'react';
// Import Navigators from React Navigation
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
// Import Screens
import SplashScreen from './Screens/SplashScreen';
import DrawerNavigationRoutes from './Screens/DrawerNavigationRoutes';
import
const Stack = createStackNavigator()
const App = () => {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="SplashScreen">
<Stack.Screen
name="SplashScreen"
component={SplashScreen}
options={{headerShown: false}}
/>
<Stack.Screen
name="DrawerNavigationRoutes"
component={DrawerNavigationRoutes}
options={{headerShown: false}}
/>
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;