23 lines
747 B
JavaScript
23 lines
747 B
JavaScript
// @flow
|
|
|
|
import {createAppContainer, createStackNavigator} from 'react-navigation';
|
|
|
|
import MainDrawerNavigator from './MainDrawerNavigator';
|
|
import ProximoListScreen from '../screens/Proximo/ProximoListScreen';
|
|
import AboutDependenciesScreen from '../screens/About/AboutDependenciesScreen';
|
|
|
|
/**
|
|
* Create a stack navigator using the drawer to handle navigation between screens
|
|
*/
|
|
export default createAppContainer(
|
|
createStackNavigator({
|
|
Main: MainDrawerNavigator,
|
|
ProximoListScreen: {screen: ProximoListScreen},
|
|
AboutDependenciesScreen: {screen: AboutDependenciesScreen},
|
|
},
|
|
{
|
|
initialRouteName: "Main",
|
|
mode: 'card',
|
|
headerMode: "none"
|
|
})
|
|
);
|