application-amicale/navigation/AppNavigator.js

18 lines
496 B
JavaScript
Raw Normal View History

2019-06-27 10:17:51 +02:00
import {createAppContainer, createStackNavigator} from 'react-navigation';
2019-06-25 22:20:24 +02:00
import MainDrawerNavigator from './MainDrawerNavigator';
2019-06-27 10:17:51 +02:00
import ProximoListScreen from '../screens/Proximo/ProximoListScreen';
2019-06-25 22:20:24 +02:00
export default createAppContainer(
2019-06-27 10:17:51 +02:00
createStackNavigator({
Main: MainDrawerNavigator,
ProximoListScreen: {screen: ProximoListScreen},
},
{
initialRouteName: "Main",
mode: 'card',
headerMode: "none"
})
);