mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add DrawerNavigationState (#27512)
This commit is contained in:
parent
470c00e395
commit
6ddd9ea45d
5
types/react-navigation/index.d.ts
vendored
5
types/react-navigation/index.d.ts
vendored
@ -88,6 +88,11 @@ export interface NavigationState {
|
||||
routes: NavigationRoute[];
|
||||
}
|
||||
|
||||
export interface DrawerNavigationState extends NavigationState {
|
||||
isDrawerOpen: boolean;
|
||||
isTransitioning: boolean;
|
||||
}
|
||||
|
||||
export type NavigationRoute<Params = NavigationParams> =
|
||||
| NavigationLeafRoute<Params>
|
||||
| NavigationStateRoute<Params>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user