application-amicale/navigation/AppNavigator.js

15 lines
428 B
JavaScript
Raw Normal View History

// @flow
import {createAppContainer} from 'react-navigation';
import {createDrawerNavigatorWithInitialRoute} from './DrawerNavigator';
2019-06-25 22:20:24 +02:00
2019-06-29 15:43:57 +02:00
/**
* Create a stack navigator using the drawer to handle navigation between screens
*/
function createAppContainerWithInitialRoute(initialRoute: string) {
return createAppContainer(createDrawerNavigatorWithInitialRoute(initialRoute));
}
2020-01-31 16:51:43 +01:00
export {createAppContainerWithInitialRoute};