From a16df7e3ff1268971844fcbfe2a73d4fe61fd383 Mon Sep 17 00:00:00 2001 From: HAMPLENI Date: Tue, 1 Aug 2017 19:21:04 -0400 Subject: [PATCH] [react-navigation] Allowing tabBarLabel function to return string (#18354) --- 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 e8740523a6..66dcde29a0 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -335,7 +335,7 @@ export type NavigationTabScreenOptions = NavigationScreenOptions & { | React.ReactElement | ((options: { tintColor: (string | null), focused: boolean }) => (React.ReactElement< any - > | null)), + > | string | null)), tabBarVisible?: boolean, };