-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomeRoute.ts
40 lines (35 loc) · 1023 Bytes
/
HomeRoute.ts
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
/** @format */
import { createStackNavigator } from "react-navigation-stack";
import { createAppContainer } from "react-navigation";
import LoginScreen from "../Screens/LoginScreen";
import RentalAppInfo from "../Screens/RentalAppInfo";
import ViewProperties from "../Screens/ViewProperties";
import Maintinence from "../Screens/Maintinence";
import SubmitApplication from "../Screens/SubmitApplication";
import ViewApplications from "../Screens/ViewApplications";
import TenantPay from "../Screens/TenantPay";
const screens = {
Login: {
screen: LoginScreen,
},
ViewProperties: {
screen: ViewProperties,
},
RentalAppInfo: {
screen: RentalAppInfo,
},
Maintinence: {
screen: Maintinence,
},
SubmitApplication: {
screen: SubmitApplication,
},
ViewApplications: {
screen: ViewApplications,
},
TenantPay: {
screen: TenantPay,
},
};
const homeStack = createStackNavigator(screens);
export default createAppContainer(homeStack);