import {
  CompleteProfileScreen,
  OnboardingCompleteScreen,
  PreferencesScreen,
  SetLocationScreen,
} from '@features/screens';
import { createStackNavigator } from '@react-navigation/stack';

export type OnboardingStackParamList = {
  SetLocationScreen: undefined;
  CompleteProfileScreen: undefined;
  PreferencesScreen: undefined;
  OnboardingCompleteScreen: undefined;
};

const Stack = createStackNavigator<OnboardingStackParamList>();

export const OnboardingStack: React.FC = () => {
  return (
    <Stack.Navigator screenOptions={{ headerShown: false }}>
      <Stack.Screen name="SetLocationScreen" component={SetLocationScreen} />
      <Stack.Screen
        name="CompleteProfileScreen"
        component={CompleteProfileScreen}
      />
      <Stack.Screen name="PreferencesScreen" component={PreferencesScreen} />
      <Stack.Screen
        name="OnboardingCompleteScreen"
        component={OnboardingCompleteScreen}
      />
    </Stack.Navigator>
  );
};
