// @flow

import {TabNavigator} from '../components/tabbed-view'

import {NextConvocationView} from './next'
import {UpcomingConvocationsView} from './upcoming'
import {ArchivedConvocationsView} from './archived'

export default TabNavigator(
	{
		NextConvocationView: {screen: NextConvocationView},
		UpcomingConvocationsView: {screen: UpcomingConvocationsView},
		ArchivedConvocationsView: {screen: ArchivedConvocationsView},
	},
	{
		navigationOptions: {
			title: 'Convocations',
		},
	},
)

// @flow

import {TabNavigator} from '../components/tabbed-view'

import {NextConvocationView} from './next'
import {UpcomingConvocationsView} from './upcoming'
import {ArchivedConvocationsView} from './archived'

export default TabNavigator(
	{
		// NextConvocationView: {screen: NextConvocationView},
		UpcomingConvocationsView: {screen: UpcomingConvocationsView},
		ArchivedConvocationsView: {screen: ArchivedConvocationsView},
	},
	{
		navigationOptions: {
			title: 'Convocations',
		},
	},
)

disable nextConvoView since it doesn't exist yet