mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
Added positions prop for DrawerLayoutAndroidStatic
This commit is contained in:
committed by
GitHub
parent
7a7a8e7da2
commit
fcc78898d3
10
react-native/index.d.ts
vendored
10
react-native/index.d.ts
vendored
@@ -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