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:
Ramanpreet Nara
2022-01-11 00:23:24 -08:00
committed by Facebook GitHub Bot
parent b3a34194c0
commit 848e34e753
2 changed files with 5 additions and 2 deletions
@@ -154,12 +154,15 @@ public class ReactDrawerLayoutManager extends ViewGroupManager<ReactDrawerLayout
}
@Override
@ReactProp(name = "keyboardDismissMode")
public void setKeyboardDismissMode(ReactDrawerLayout view, @Nullable String value) {}
@Override
@ReactProp(name = "drawerBackgroundColor", customType = "Color")
public void setDrawerBackgroundColor(ReactDrawerLayout view, @Nullable Integer value) {}
@Override
@ReactProp(name = "statusBarBackgroundColor", customType = "Color")
public void setStatusBarBackgroundColor(ReactDrawerLayout view, @Nullable Integer value) {}
@Override