From c4bd0cb8a6f4819b3411e16df40666a25f5b5dd2 Mon Sep 17 00:00:00 2001 From: cailenmusselman Date: Tue, 20 Sep 2016 15:40:16 -0600 Subject: [PATCH] Update react-native.d.ts static "positions" is missing from DrawerLayoutAndroid. From DrawerLayout.android.js: var DrawerLayoutAndroid = React.createClass({ statics: { positions: DrawerConsts.DrawerPosition, } ... } --- react-native/react-native.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/react-native/react-native.d.ts b/react-native/react-native.d.ts index 732e4aacde..2c1eb01234 100644 --- a/react-native/react-native.d.ts +++ b/react-native/react-native.d.ts @@ -1930,6 +1930,14 @@ declare namespace __React { export interface DrawerLayoutAndroidStatic extends React.ComponentClass { + /** + * Specifies the side of the screen from which the drawer will slide in. + */ + positions: { + Left: number; + Right: number; + } + /** * Opens the drawer. */