react-native-macos/Libraries/Components/DrawerAndroid
Heinrich Tremblay a828db6911 AndroidDrawerLayout (#23036)
Summary:
Changelog:
----------

[Android] [Changed] - As mentioned in #22990, I have moved native components required by DrawerLayoutAndroid.android.js into separate files and added Flow Typing.

Question
----------
I have two questions.

It is not included in the files mentioned by #22990 [comment](https://github.com/facebook/react-native/issues/22990#issue-399165354). Perhaps we should be adding knowledge of that type to the codegen since it is quite complicated, what do you think TheSavior?

The `Props` type include `renderNavigationView: () => React.Element<any>,` and `children?: React.Node,`. Therefore I added `const React = require('React');` to the file, is it ok?
Pull Request resolved: https://github.com/facebook/react-native/pull/23036

Differential Revision: D13710035

Pulled By: cpojer

fbshipit-source-id: 671423b76c3b443d85e4b63d05d6253dbd33b29c
2019-01-18 03:48:14 -08:00
..
AndroidDrawerLayoutNativeComponent.js AndroidDrawerLayout (#23036) 2019-01-18 03:48:14 -08:00
DrawerLayoutAndroid.android.js AndroidDrawerLayout (#23036) 2019-01-18 03:48:14 -08:00
DrawerLayoutAndroid.ios.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00