[react-navigation] Allowing tabBarLabel function to return string (#18354)

This commit is contained in:
HAMPLENI
2017-08-01 16:21:04 -07:00
committed by Sheetal Nandi
parent 9efaa6049f
commit a16df7e3ff
+1 -1
View File
@@ -335,7 +335,7 @@ export type NavigationTabScreenOptions = NavigationScreenOptions & {
| React.ReactElement<any>
| ((options: { tintColor: (string | null), focused: boolean }) => (React.ReactElement<
any
> | null)),
> | string | null)),
tabBarVisible?: boolean,
};