Update react-native.d.ts

static "positions" is missing from DrawerLayoutAndroid.

From DrawerLayout.android.js: 

var DrawerLayoutAndroid = React.createClass({
  statics: {
    positions: DrawerConsts.DrawerPosition,
  }
  ...
}
This commit is contained in:
cailenmusselman
2016-09-20 15:40:16 -06:00
committed by GitHub
parent fbe2a7d056
commit c4bd0cb8a6
+8
View File
@@ -1930,6 +1930,14 @@ declare namespace __React {
export interface DrawerLayoutAndroidStatic extends React.ComponentClass<DrawerLayoutAndroidProperties> {
/**
* Specifies the side of the screen from which the drawer will slide in.
*/
positions: {
Left: number;
Right: number;
}
/**
* Opens the drawer.
*/