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

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

export type AuthStackParamList = {
  Login: undefined;
  SetupBiometric: undefined;
};

const Stack = createStackNavigator<AuthStackParamList>();

/**
 * AuthNavigator sets up stack navigation for Auth module
 */
const AuthNavigator: React.FC = () => (
  <Stack.Navigator
    initialRouteName="Login"
    screenOptions={{
      headerStyle: { backgroundColor: Colors.primary },
      headerTintColor: Colors.background,
      headerTitleStyle: { fontWeight: 'bold' },
    }}
  >
    <Stack.Screen
      name="Login"
      component={LoginScreen}
      options={{ title: 'Login' }}
    />
    <Stack.Screen
      name="SetupBiometric"
      component={SetupBiometricScreen}
      options={{ title: 'Setup Biometric' }}
    />
  </Stack.Navigator>
);

export default AuthNavigator;

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