mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Final fixes and seal xplat/js/react-native-github
Reviewed By: panagosg7 Differential Revision: D16946423 fbshipit-source-id: 89ca82c955e99a23a14984d51f3c97346c363afd
This commit is contained in:
committed by
Facebook Github Bot
parent
97b42bb142
commit
b6333f79e1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user