-
Notifications
You must be signed in to change notification settings - Fork 7
/
App.js
119 lines (109 loc) · 2.55 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
107
108
109
110
111
112
113
114
115
116
117
118
119
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React from 'react';
// import { GoogleSignin, GoogleSigninButton } from 'react-native-google-signin';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Button,
Text,
StatusBar,
} from 'react-native';
import HomeScreen from './HomeScreen'
import Complaint from './Complaint'
import editCView from './editCView'
import SignUp from './components/SignUp/SignUp'
import Login from './components/login/Login'
import Create_complaint from './components/complaint/Create_complaint'
import Mess from './components/mess/Mess'
import Menu from './components/mess/Menu'
import Leave from './components/Leave/Leave'
import Calender from './components/Calender/Calender'
import Verify from './components/Verify/Verify'
import LeaveDisplay from './components/Leave/LeaveDisplay'
import leaveView from './components/Leave/leaveView'
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
const MainNavigator = createStackNavigator({
SignUp: {
screen: SignUp, navigationOptions: {
title: 'SignUp',
headerLeft: null
}
},
Login: {
screen: Login, navigationOptions: {
title: 'Login',
headerLeft: null
}
},
Complaint: {
screen: Complaint, navigationOptions: {
title: 'HomeScreen',
headerLeft: null
}
},
Home: {
screen: HomeScreen, navigationOptions: {
title: 'Complaint',
}
},
editCView: {
screen: editCView, navigationOptions: {
title: 'Complaint Description',
}
},
Create_complaint: {
screen: Create_complaint, navigationOptions: {
title: 'Create Complaint',
}
},
Leave: {
screen: Leave, navigationOptions: {
title: 'Leave Application',
}
},
LeaveDisplay: {
screen: LeaveDisplay, navigationOptions: {
title: 'Leave Application',
}
},
Mess: {
screen: Mess, navigationOptions: {
title: 'Mess',
}
},
Menu: {
screen: Menu, navigationOptions: {
title: 'Menu',
}
},
leaveView: {
screen: leaveView, navigationOptions: {
title: 'leaveView',
}
},
Calender: {
screen: Calender, navigationOptions: {
title: 'Calender',
}
},
Verify: {
screen: Verify, navigationOptions: {
title: 'Verification',
}
}
});
const App = createAppContainer(MainNavigator);
// export default createStackNavigator({
// Home: { screen: HomeScreen },
// Complaint: {screen: Complaint},
// });;
export default App;