-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
54 lines (45 loc) · 1.2 KB
/
Copy pathApp.js
File metadata and controls
54 lines (45 loc) · 1.2 KB
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
import React from 'react';
import { StyleSheet, View } from 'react-native';
import { AppLoading, Asset, Font, Icon } from 'expo';
import LoginCustomer from './components/Customer/LoginCustomer';
import LoginManager from './components/Manager/LoginManager';
import CustomerQueue from './components/Customer/CustomerQueue';
import ManagerQueue from './components/Manager/ManagerQueue';
import ManagerChangeOrder from './components/Manager/ManagerChangeOrder';
import ManagerCode from './components/Manager/ManagerCode';
import {
createStackNavigator,
} from 'react-navigation'
const RootStack = createStackNavigator({
LoginCustomer: LoginCustomer,
LoginManager: LoginManager,
CustomerQueue: CustomerQueue,
ManagerQueue: ManagerQueue,
ManagerChangeOrder: ManagerChangeOrder,
ManagerCode: ManagerCode,
},
{
headerMode: 'none',
navigationOptions: {
headerVisible: false,
}
});
export default class App extends React.Component {
constructor(props) {
super(props);
this.state = {
isLoadingComplete: false,
}
}
render() {
return (
<RootStack />
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
}
});