mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
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:
Vendored
+8
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user