-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
27 lines (25 loc) · 934 Bytes
/
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
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import { StackNavigator } from 'react-navigation';
import PickerButton from './components/PickerButton';
import PickerListView from './components/PickerListView';
import EditOrder from './components/EditOrder';
import EditOrderLineItem from './components/EditOrderLineItem';
import RecentOrders from './components/RecentOrders';
import SearchOrders from './components/SearchOrders';
import Login from './components/Login';
const OrderEntry = StackNavigator({
Login: { screen: Login },
PickerButton: { screen: PickerButton },
PickerListView: { screen: PickerListView },
RecentOrders: { screen: RecentOrders },
EditOrderLineItem: { screen: EditOrderLineItem },
EditOrder: { screen: EditOrder },
SearchOrders: { screen: SearchOrders },
});
AppRegistry.registerComponent('OrderEntry', () => OrderEntry);