Merge pull request #3215 from frewsxcv/index

Migrate `src/navigation/BottomTabNavigator/index` to TypeScript.
This commit is contained in:
Abbey Campbell
2025-11-11 15:56:22 -08:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import { BottomTabBarProps, createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import Mortal from "components/SharedComponents/Mortal";
import TabStackNavigator, {
SCREEN_NAME_NOTIFICATIONS,
@@ -14,7 +14,7 @@ const Tab = createBottomTabNavigator( );
/* eslint-disable react/jsx-props-no-spreading */
const BottomTabs = ( ) => {
const renderTabBar = props => <CustomTabBarContainer {...props} />;
const renderTabBar = ( props: BottomTabBarProps ) => <CustomTabBarContainer {...props} />;
// DEVELOPERS: do you need to add any screens here? All the rest of our screens live in
// NoBottomTabStackNavigator, TabStackNavigator, or LoginStackNavigator