-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
22 lines (22 loc) · 962 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
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import WelcomePage from './screen/WelcomePage';
import RegisterPage from './screen/RegisterPage';
import LoginPage from './screen/LoginPage';
import {NavigationContainer} from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import ForgotPassword from './screen/ForgotPassword';
export default function App() {
const Stack = createStackNavigator();
return (
<NavigationContainer>
<Stack.Navigator initialRouteName='WelcomePage' headerMode={false}>
<Stack.Screen name='WelcomePage' component={WelcomePage} />
<Stack.Screen name='RegisterPage' component={RegisterPage}/>
<Stack.Screen name='LoginPage' component={LoginPage}/>
<Stack.Screen name='ForgotPassword' component={ForgotPassword}/>
</Stack.Navigator>
</NavigationContainer>
)
}