-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
106 lines (98 loc) · 3.64 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import * as React from "react";
import { View, Text, LogBox } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Home from "./Screens/Home";
import Craving from "./Screens/Craving_Screen";
import Value from "./Screens/Values_Screen";
import Match from "./Screens/Match_Gender";
import Orientation from "./Screens/Sexual_Orientation_Screen";
import About from "./Screens/About_Me";
import Profile from "./Screens/Profile";
import Login from "./Screens/Login";
import EnterEmail from "./Screens/EnterEmail";
import EnterEmailCode from "./Screens/EnterEmailCode";
import Message from "./Screens/Message";
import ChatList from "./Screens/ChatList";
import Interests from "./Screens/Interests";
import SplashScreen from "./Screens/SplashScreen";
import NameQuestion from "./Screens/NameQuestion";
import GenderQuestion from "./Screens/GenderQuestion";
import AgeQuestion from "./Screens/AgeQuestion";
import OnBoarding from "./Screens/OnBoarding";
import MainContainer from "./Navigation/MainContainer";
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer>
<Stack.Navigator initialRouteName="Home">
<Stack.Screen
name="Home"
component={MainContainer}
options={{ title: "Home" }}
/>
<Stack.Screen
name="EnterEmail"
component={EnterEmail}
options={{ title: "Enter Email" }}
/>
<Stack.Screen
name="EnterEmailCode"
component={EnterEmailCode}
options={{ title: "Enter 6-digit code" }}
/>
<Stack.Screen
name="SplashScreen"
component={SplashScreen}
options={{title: "SplashScreen", headerShown: false}}
/>
<Stack.Screen
name="OnBoarding"
component={OnBoarding}
options={{title: "On Boarding", headerShown: false}}
/>
<Stack.Screen
name="Login"
component={Login}
options={{title: "Login"}}
/>
<Stack.Screen
name="Match"
component={Match}
options={{ title: "Match" }}
/>
<Stack.Screen
name="Name"
component={NameQuestion}
options={{ title: "Name" }}
/>
<Stack.Screen
name="Gender"
component={GenderQuestion}
options={{ title: "Gender" }}
/>
<Stack.Screen
name="Age"
component={AgeQuestion}
options={{ title: "Age" }}
/>
<Stack.Screen
name="About"
component={About}
options={{ title: "About" }}
/>
<Stack.Screen
name="Profile"
component={Profile}
options={{ title: "Profile" }}
/>
<Stack.Screen
name="Interests"
component={Interests}
options={{ title: "Interests" }}
/>
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;