2019-06-25 22:20:24 +02:00
|
|
|
import React from 'react';
|
|
|
|
import {createDrawerNavigator} from 'react-navigation';
|
|
|
|
|
|
|
|
import HomeScreen from '../screens/HomeScreen';
|
|
|
|
import PlanningScreen from '../screens/PlanningScreen';
|
|
|
|
import ProxiwashScreen from '../screens/ProxiwashScreen';
|
2019-06-27 10:17:51 +02:00
|
|
|
import ProximoMainScreen from '../screens/Proximo/ProximoMainScreen';
|
2019-06-25 22:20:24 +02:00
|
|
|
import SettingsScreen from '../screens/SettingsScreen';
|
|
|
|
import AboutScreen from '../screens/AboutScreen';
|
|
|
|
import SideMenu from "../components/SideMenu";
|
|
|
|
|
|
|
|
|
|
|
|
export default createDrawerNavigator({
|
|
|
|
Home: {screen: HomeScreen},
|
|
|
|
Planning: {screen: PlanningScreen,},
|
|
|
|
Proxiwash: {screen: ProxiwashScreen,},
|
2019-06-27 10:17:51 +02:00
|
|
|
Proximo: {screen: ProximoMainScreen,},
|
2019-06-25 22:20:24 +02:00
|
|
|
Settings: {screen: SettingsScreen,},
|
|
|
|
About: {screen: AboutScreen,},
|
|
|
|
}, {
|
|
|
|
contentComponent: SideMenu,
|
2019-06-27 10:17:51 +02:00
|
|
|
initialRouteName: 'Home',
|
|
|
|
backBehavior: 'initialRoute',
|
|
|
|
drawerType: 'front',
|
|
|
|
useNativeAnimations: true,
|
2019-06-25 22:20:24 +02:00
|
|
|
}
|
|
|
|
);
|
|
|
|
|