mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Export GestureContexts and add missing type for withOrientation, fix header back button title prop type
This commit is contained in:
9
src/react-navigation.js
vendored
9
src/react-navigation.js
vendored
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user