-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
25 lines (22 loc) · 776 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
import * as React from 'react';
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import WelcomeScreen from './app/screens/WelcomeScreen';
import Login from './app/screens/Login';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen
name="WelcomeScreen"
component={WelcomeScreen}
options={{headerShown: false}}
/>
<Stack.Screen name="Login" component={Login} options={{headerShown: false}} />
</Stack.Navigator>
</NavigationContainer>
);
}