From 86f51b0d4bc0a7a5b748661d3f2c987e2a928a4c Mon Sep 17 00:00:00 2001 From: Maddi Joyce Date: Mon, 10 Dec 2018 15:17:03 +1100 Subject: [PATCH] Using DrawerNavigationState instead of regular NavigationState in DrawerItemsProps --- types/react-navigation/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 85b42444b1..8e743465c6 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -899,7 +899,7 @@ export function createSwitchNavigator( export const DrawerItems: React.ComponentType; export interface DrawerItemsProps { - navigation: NavigationScreenProp; + navigation: NavigationScreenProp; items: NavigationRoute[]; activeItemKey?: string; activeTintColor?: string;