-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.js
53 lines (51 loc) · 1.06 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
import {
createStackNavigator,
} from 'react-navigation';
import LoginScreen from './LoginScreen';
import HomeScreen from './HomeScreen';
import ViewScreen from './ViewScreen';
import SearchScreen from './SearchScreen';
import FloorPlanScreen from './FloorPlanScreen';
import ProfileScreen from './ProfileScreen';
import UpdateScreen from './UpdateScreen';
import MapLocationScreen from './MapLocationScreen';
export default createStackNavigator({
Login:{
screen: LoginScreen,
},
Home: {
screen: HomeScreen,
},
View:{
screen:ViewScreen,
},
Search:{
screen:SearchScreen,
},
FloorPlan:{
screen:FloorPlanScreen,
},
Profile:{
screen:ProfileScreen,
},
Update:{
screen:UpdateScreen,
},
MapLocation:{
screen:MapLocationScreen,
},
}, {
drawerPosition:'right',
drawerWidth: 300,
initialRouteName: 'Login',
navigationOptions: {
headerStyle: {
backgroundColor: '#a80000',
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
},
});
console.disableYellowBox = true;