Adds more id types and type prop to react-native-navigation NavigatorEvent.

This commit is contained in:
Jason Merino
2018-06-06 07:56:33 -07:00
parent 21c6ad0a19
commit 5f56a0a59f
+2 -1
View File
@@ -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 {