From 05a76b557f7c945c7d44e4eb174dc7f9eb35d5a3 Mon Sep 17 00:00:00 2001 From: Haseeb Majid Date: Sat, 23 Feb 2019 12:55:12 +0000 Subject: [PATCH] Added screenProps Added screenProps to DrawerItemsProps. --- types/react-navigation/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 860d54523e..8e0b356f50 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -32,6 +32,7 @@ // Deniss Borisovs // Kenneth Skovhus // Aaron Rosen +// Haseeb Majid // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -922,6 +923,7 @@ export interface DrawerItemsProps { inactiveLabelStyle?: StyleProp; iconContainerStyle?: StyleProp; drawerPosition: 'left' | 'right'; + screenProps?: { [key: string]: any }; } export interface DrawerScene { route: NavigationRoute;