From ed8e6ff42de34d2d44b4d1af7fc206f750e754b4 Mon Sep 17 00:00:00 2001 From: Veit Lehmann Date: Thu, 22 Feb 2018 23:20:57 +0100 Subject: [PATCH] react-navigation: update for v1.1 --- types/react-navigation/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index 2c3c384ac6..909d72d413 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-navigation 1.0 +// Type definitions for react-navigation 1.1 // Project: https://github.com/react-community/react-navigation // Definitions by: Huhuanming // mhcgrq @@ -11,6 +11,7 @@ // Tim Wang // Qibang Sun // Sergei Butko: +// Veit Lehmann: // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -278,6 +279,7 @@ export type NavigationStackScreenOptions = NavigationScreenOptions & { }; export interface NavigationStackRouterConfig { + headerTransitionPreset?: 'fade-in-place' | 'uikit'; initialRouteName?: string; initialRouteParams?: NavigationParams; paths?: NavigationPathsConfig; @@ -608,6 +610,8 @@ export interface TabViewConfig { // From navigators/TabNavigator.js export interface TabNavigatorConfig extends NavigationTabRouterConfig, TabViewConfig { + lazy?: boolean; + removeClippedSubviews?: boolean; initialLayout?: { height: number, width: number }; }