/*
 * File: DashboardNavigator.tsx
 * Description: Stack navigator for Dashboard module
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { DashboardScreen } from '../screens';
import { Colors } from '../../../../shared/src/theme';

export type DashboardStackParamList = {
  Dashboard: undefined;
  // Add more screens here as needed
};

const Stack = createStackNavigator<DashboardStackParamList>();

/**
 * DashboardNavigator sets up stack navigation for Dashboard module
 */
const DashboardNavigator: React.FC = () => (
  <Stack.Navigator
    initialRouteName="Dashboard"
    screenOptions={{
      headerStyle: { backgroundColor: Colors.primary },
    }}
  >
    <Stack.Screen
      name="Dashboard"
      component={DashboardScreen}
      options={{ title: 'Dashboard' ,headerShown:false}}
    />
    {/* Add more screens here */}
  </Stack.Navigator>
);

export default DashboardNavigator;

/*
 * End of File: DashboardNavigator.tsx
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 