Added positions prop for DrawerLayoutAndroidStatic

This commit is contained in:
Victor Palomo de Castro
2017-03-11 23:56:50 -03:00
committed by GitHub
parent 7a7a8e7da2
commit fcc78898d3

View File

@@ -2563,8 +2563,18 @@ declare module "react" {
ref?: Ref<DrawerLayoutAndroidStatic & ViewStatic>
}
interface DrawerPosition {
Left: number
Right: number
}
export interface DrawerLayoutAndroidStatic extends NativeMethodsMixin, React.ClassicComponentClass<DrawerLayoutAndroidProperties> {
/**
* drawer's positions.
*/
positions: DrawerPosition
/**
* Opens the drawer.
*/