mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 17:23:42 +08:00
Apply drawerlockmode from screen options to DrawerLayout component (#4202)
Fix #4201
This commit is contained in:
@@ -93,6 +93,7 @@ export default class DrawerView extends React.PureComponent {
|
||||
this._drawer = c;
|
||||
}}
|
||||
drawerLockMode={
|
||||
drawerLockMode ||
|
||||
(this.props.screenProps && this.props.screenProps.drawerLockMode) ||
|
||||
this.props.navigationConfig.drawerLockMode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user