Final fixes and seal xplat/js/react-native-github

Reviewed By: panagosg7

Differential Revision: D16946423

fbshipit-source-id: 89ca82c955e99a23a14984d51f3c97346c363afd
This commit is contained in:
Logan Daniels
2019-08-23 08:45:11 -07:00
committed by Facebook Github Bot
parent 97b42bb142
commit b6333f79e1
25 changed files with 280 additions and 105 deletions
@@ -15,9 +15,10 @@ const React = require('react');
const StatusBar = require('../StatusBar/StatusBar');
const StyleSheet = require('../../StyleSheet/StyleSheet');
const View = require('../View/View');
const nullthrows = require('nullthrows');
const dismissKeyboard = require('../../Utilities/dismissKeyboard');
const nullthrows = require('nullthrows');
import AndroidDrawerLayoutNativeComponent, {
Commands,
} from './AndroidDrawerLayoutNativeComponent';
@@ -163,15 +164,17 @@ class DrawerLayoutAndroid extends React.Component<Props, State> {
return {Left: 'left', Right: 'right'};
}
static defaultProps = {
static defaultProps: {|
drawerBackgroundColor: 'white',
|} = {
drawerBackgroundColor: 'white',
};
_nativeRef = React.createRef<AndroidDrawerLayoutNativeComponent>();
state = {statusBarBackgroundColor: null};
state: State = {statusBarBackgroundColor: null};
render() {
render(): React.Node {
const {
onDrawerStateChanged,
renderNavigationView,