Export GestureContexts and add missing type for withOrientation, fix header back button title prop type

This commit is contained in:
Brent Vatne
2019-03-19 13:58:18 -07:00
parent 368b6812bf
commit 4c29c57fe2
2 changed files with 26 additions and 1 deletions

View File

@@ -121,6 +121,15 @@ module.exports = {
return require('react-navigation-drawer').createDrawerNavigator;
},
// Gesture contexts
get StackGestureContext() {
return require('react-navigation-stack').StackGestureContext;
},
get DrawerGestureContext() {
return require('react-navigation-drawer').DrawerGestureContext;
},
// Routers and Actions
get DrawerRouter() {