import { createStackNavigator } from 'react-navigation-stack';
import { createAppContainer } from 'react-navigation';
import DeptPage from '../DeptPage';
import InfoDetails from '../screens/InfoDetails';
import MainScreen from '../screens/MainScreen';

const screens = {
    
    DeptPage: {
        screen: DeptPage,
        navigationOptions: {
            title: 'GameZone',
            headerStyle: { backgroundColor: '#eee' }
        }
    },
    InfoDetails: {
        screen: InfoDetails,
        navigationOptions: {
            title: 'Info Details',
            headerStyle: { backgroundColor: '#eee' }
        }
    }
}

const HomeStack = createStackNavigator(screens);

export default createAppContainer(HomeStack);