mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
[react-navigation] Allowing tabBarLabel function to return string (#18354)
This commit is contained in:
2
types/react-navigation/index.d.ts
vendored
2
types/react-navigation/index.d.ts
vendored
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user