/* * File: MainTabNavigator.tsx * Description: Bottom tab navigator for the main app interface * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */ import React from 'react'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { theme } from '../theme/theme'; import { DashboardStackNavigator } from '../modules/Dashboard/navigation'; import { SettingsStackNavigator } from '../modules/Settings/navigation'; import { MainTabParamList } from './navigationTypes'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; // Create the bottom tab navigator const Tab = createBottomTabNavigator(); /** * MainTabNavigator Component * * Purpose: Creates the bottom tab navigation for the main app interface * * Tab Structure: * - Dashboard: Main ER dashboard with patient overview and statistics * - Patients: Detailed patient list and management interface * - Alerts: Critical notifications and alert management * - Reports: Medical reports and documentation access * - Settings: User preferences and app configuration * * Features: * - Consistent styling with app theme * - Tab-specific icons and labels * - Proper parameter passing to screens * - Accessibility support */ export const MainTabNavigator: React.FC = () => { return ( {/* Dashboard Tab - Main ER overview */} ( ), headerShown: false, }} /> {/* Patients Tab - Patient list and management */} ( ), headerShown: false, }} /> {/* Alerts Tab - Critical notifications */} ( ), headerShown: false, }} /> {/* Reports Tab - Medical documentation */} ( ), headerShown: false, }} /> {/* Settings Tab - User preferences */} ( ), headerShown: false, }} /> ); }; /* * End of File: MainTabNavigator.tsx * Design & Developed by Tech4Biz Solutions * Copyright (c) Spurrin Innovations. All rights reserved. */