mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix SVC/NVC for AndroidDrawerLayout
Summary:
## Failures
```
LOG SVC AndroidDrawerLayout Invalid
LOG {
"missing": {},
"unexpected": {
"directEventTypes": {
"topDrawerOpened": {
"registrationName": "onDrawerOpen"
},
"topDrawerClosed": {
"registrationName": "onDrawerClose"
}
},
"validAttributes": {
"keyboardDismissMode": true,
"drawerBackgroundColor": {
"process": "[Function processColor]"
},
"statusBarBackgroundColor": {
"process": "[Function processColor]"
}
}
},
"unequal": []
}
```
Changelog: [Internal]
Reviewed By: JoshuaGross
Differential Revision: D33409393
fbshipit-source-id: 9fa5b6cd5c8fc9bc01d825eb8fb7965c5cb691d2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b3a34194c0
commit
848e34e753
@@ -92,12 +92,12 @@ type NativeProps = $ReadOnly<{|
|
||||
/**
|
||||
* Function called whenever the navigation view has been opened.
|
||||
*/
|
||||
onDrawerOpen?: ?DirectEventHandler<null, 'topDrawerOpened'>,
|
||||
onDrawerOpen?: ?DirectEventHandler<null>,
|
||||
|
||||
/**
|
||||
* Function called whenever the navigation view has been closed.
|
||||
*/
|
||||
onDrawerClose?: ?DirectEventHandler<null, 'topDrawerClosed'>,
|
||||
onDrawerClose?: ?DirectEventHandler<null>,
|
||||
|
||||
/**
|
||||
* Make the drawer take the entire screen and draw the background of the
|
||||
|
||||
Reference in New Issue
Block a user