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