import * as React from 'react' ; import { TabNavigator , TabBarIcon } from '@frogpond/navigation-tabs' ; import { BonAppHostedMenu } from './menu-bonapp' ; import { GitHubHostedMenu } from './menu-github' ; import { CarletonCafeIndex } from './carleton-menus' ; export { CarletonBurtonMenuScreen , CarletonLDCMenuScreen , CarletonWeitzMenuScreen , CarletonSaylesMenuScreen , } from './carleton-menus' ; export const MenusView = TabNavigator ( { StavHallMenuView : { screen : ( { navigation } ) => ( < BonAppHostedMenu cafe = "stav-hall" loadingMessage = { [ 'Hunting Ferndale Turkey…' , 'Tracking wild vegan burgers…' , '"Cooking" some lutefisk…' , 'Finding more mugs…' , 'Waiting for omelets…' , 'Putting out more cookies…' , ] } name = "Stav Hall" navigation = { navigation } / > ) , navigationOptions : { tabBarLabel : 'Stav Hall' , tabBarIcon : TabBarIcon ( 'nutrition' ) , } , } , TheCageMenuView : { screen : ( { navigation } ) => ( < BonAppHostedMenu cafe = "the-cage" ignoreProvidedMenus = { true } loadingMessage = { [ 'Checking for vegan cookies…' , 'Serving up some shakes…' , 'Waiting for menu screens to change…' , 'Frying chicken…' , 'Brewing coffee…' , ] } name = "The Cage" navigation = { navigation } / > ) , navigationOptions : { tabBarLabel : 'The Cage' , tabBarIcon : TabBarIcon ( 'cafe' ) , } , } , ThePauseMenuView : { screen : ( { navigation } ) => ( < GitHubHostedMenu loadingMessage = { [ 'Mixing up a shake…' , 'Spinning up pizzas…' , 'Turning up the music…' , 'Putting ice cream on the cookies…' , 'Fixing the oven…' , ] } name = "The Pause" navigation = { navigation } / > ) , navigationOptions : { tabBarLabel : 'The Pause' , tabBarIcon : TabBarIcon ( 'paw' ) , } , } , CarletonMenuListView : { screen : CarletonCafeIndex , navigationOptions : { tabBarLabel : 'Carleton' , tabBarIcon : TabBarIcon ( 'menu' ) , } , } , } ) ; MenusView . navigationOptions = { title : 'Menus' , } ;