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

This commit is contained in:
HAMPLENI
2017-08-01 19:21:04 -04:00
committed by Sheetal Nandi
parent 9efaa6049f
commit a16df7e3ff

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,
};