|
5 | 5 | */ |
6 | 6 |
|
7 | 7 | import React from 'react' |
8 | | -import {StackNavigator} from 'react-navigation' |
9 | 8 | import {TabNavigator} from '../components/tabbed-view' |
10 | 9 | import {TabBarIcon} from '../components/tabbar-icon' |
11 | 10 |
|
12 | 11 | import {BonAppHostedMenu} from './menu-bonapp' |
13 | 12 | import {GitHubHostedMenu} from './menu-github' |
14 | | -import { |
15 | | - CarletonCafeIndex, |
| 13 | +import {CarletonCafeIndex} from './carleton-menus' |
| 14 | +// import {BonAppPickerView} from './dev-bonapp-picker' |
| 15 | + |
| 16 | +export { |
16 | 17 | CarletonBurtonMenuScreen, |
17 | 18 | CarletonLDCMenuScreen, |
18 | 19 | CarletonWeitzMenuScreen, |
19 | 20 | CarletonSaylesMenuScreen, |
20 | 21 | } from './carleton-menus' |
21 | | -// import {BonAppPickerView} from './dev-bonapp-picker' |
22 | | - |
23 | | -const CarletonMenuPicker = StackNavigator( |
24 | | - { |
25 | | - CarletonCafeIndex: {screen: CarletonCafeIndex}, |
26 | | - CarletonBurtonMenuView: {screen: CarletonBurtonMenuScreen}, |
27 | | - CarletonLDCMenuView: {screen: CarletonLDCMenuScreen}, |
28 | | - CarletonWeitzMenuView: {screen: CarletonWeitzMenuScreen}, |
29 | | - CarletonSaylesMenuView: {screen: CarletonSaylesMenuScreen}, |
30 | | - }, |
31 | | - { |
32 | | - headerMode: 'none', |
33 | | - }, |
34 | | -) |
35 | 22 |
|
36 | 23 | export const MenusView = TabNavigator( |
37 | 24 | { |
@@ -100,9 +87,9 @@ export const MenusView = TabNavigator( |
100 | 87 | }, |
101 | 88 |
|
102 | 89 | CarletonMenuListView: { |
103 | | - screen: CarletonMenuPicker, |
| 90 | + screen: CarletonCafeIndex, |
104 | 91 | navigationOptions: { |
105 | | - title: 'Carleton', |
| 92 | + tabBarLabel: 'Carleton', |
106 | 93 | tabBarIcon: TabBarIcon('menu'), |
107 | 94 | }, |
108 | 95 | }, |
|
0 commit comments