diff --git a/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js b/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js index 868ee9a2a36..c0c1bf05375 100644 --- a/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +++ b/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js @@ -92,12 +92,12 @@ type NativeProps = $ReadOnly<{| /** * Function called whenever the navigation view has been opened. */ - onDrawerOpen?: ?DirectEventHandler, + onDrawerOpen?: ?DirectEventHandler, /** * Function called whenever the navigation view has been closed. */ - onDrawerClose?: ?DirectEventHandler, + onDrawerClose?: ?DirectEventHandler, /** * Make the drawer take the entire screen and draw the background of the diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/ReactDrawerLayoutManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/ReactDrawerLayoutManager.java index 67066aa5299..f3b50120c4b 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/ReactDrawerLayoutManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/ReactDrawerLayoutManager.java @@ -154,12 +154,15 @@ public class ReactDrawerLayoutManager extends ViewGroupManager