-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.js
27 lines (24 loc) · 1.15 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
// Import necessary modules and components
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import SplashScreen from './screens/SplashScreen';
import LogInSignUp from './screens/LogInSignUp';
import SignUpPage from './screens/SignUpPage';
import LogInPage from './screens/LogInPage';
import LandingPage from './screens/LandingPage';
const Stack = createStackNavigator();
const App = () => {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Splash">
<Stack.Screen name="Splash" component={SplashScreen} options={{ headerShown: false }} />
<Stack.Screen name="LogInSignUp" component={LogInSignUp} options={{ headerShown: false }} />
<Stack.Screen name="SignUp" component={SignUpPage} options={{ headerShown: false }} />
<Stack.Screen name="LogIn" component={LogInPage} options={{ headerShown: false }} />
<Stack.Screen name="LandingPage" component={LandingPage} options={{ headerShown: false }} />
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;