mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Added positions prop for DrawerLayoutAndroidStatic
This commit is contained in:
committed by
GitHub
parent
7a7a8e7da2
commit
fcc78898d3
Vendored
+10
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user