From 5f56a0a59ff6eb7e095ff61c3c4a9bcd84226653 Mon Sep 17 00:00:00 2001 From: Jason Merino Date: Wed, 6 Jun 2018 07:56:33 -0700 Subject: [PATCH] Adds more id types and type prop to react-native-navigation NavigatorEvent. --- types/react-native-navigation/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-native-navigation/index.d.ts b/types/react-native-navigation/index.d.ts index 3edf071e98..c4a7a4419d 100644 --- a/types/react-native-navigation/index.d.ts +++ b/types/react-native-navigation/index.d.ts @@ -119,7 +119,8 @@ export interface LightBox { } export interface NavigatorEvent { - id: 'willAppear' | 'didAppear' | 'willDisappear' | 'didDisappear' | 'willCommitPreview' | 'backPress'; + id: 'willAppear' | 'didAppear' | 'willDisappear' | 'didDisappear' | 'willCommitPreview' | 'backPress' | 'bottomTabSelected' | 'bottomTabReselected' | string; + type: 'NavBarButtonPress' | 'DeepLink'; } export class Navigator {