-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
44 lines (37 loc) · 1.19 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
import React, { Component } from 'react';
import { AppRegistry,View,Text,StyleSheet,ScrollView,TouchableOpacity } from 'react-native';
import { StackNavigator } from 'react-navigation';
import HomeScreen from './pages/home';
import Products from './pages/products2';
import Menu from './pages/menu';
import Register from './pages/register';
import Guest from './pages/guest';
import Userroute from './pages/userroute';
import Welcome from './pages/splash';
import GuestOrder from './pages/guestOrder';
// const myDrawer = DrawerNavigator({
// Home: { screen: HomeScreen },
// Products: { screen: Products },
// Register: { screen: Register },
// Userroute: { screen: Userroute },
// },
// {
// contentComponent: props => <Menu {...props} />
// });
export default(nativeShop = StackNavigator({
// Welcome: { screen: Welcome },
Home: { screen: HomeScreen },
Products: { screen: Products },
Register: { screen: Register },
Guest: { screen: Guest },
GuestOrder: { screen: GuestOrder },
Userroute: { screen: Userroute }},
{
headerMode: 'none'
}
));
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/