-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
32 lines (28 loc) · 856 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
28
29
30
31
32
import React, { Component } from 'react';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import Home from './src/screens/Home';
// we will use these two screens later in our AppNavigator
import WingList from './src/screens/WingList';
import ItemComponent from './src/components/ItemComponent';
import reserveSlot from './src/components/reserveSlot';
import ListLocations from './src/screens/ListLocations';
import Login from './src/screens/Login';
const AppNavigator = createStackNavigator(
{
Home,
Login,
WingList,
ItemComponent,
reserveSlot,
ListLocations
},
{
initialRouteName: 'Login'
}
);
const AppContainer = createAppContainer(AppNavigator);
export default class App extends Component {
render() {
return <AppContainer />;
}
}