import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { useAppTheme } from '@theme';
import { PrimaryButton } from '@components';
import { useNavigation } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { AuthStackParamList } from '@navigation/navigationTypes';
import { RouteNames } from '@utils/constants';

const CompleteProfileScreen: React.FC = () => {
  const { colors } = useAppTheme();
  const navigation = useNavigation<NativeStackNavigationProp<AuthStackParamList>>();

  return (
    <View style={[styles.container, { backgroundColor: colors.background }]}>
      <Text style={styles.title}>Complete Profile Screen</Text>
      <PrimaryButton
        title="Continue"
        onPress={() => navigation.navigate(RouteNames.OnboardingComplete)}
        style={{ marginTop: 20, width: '90%' }}
      />
    </View>
  );
};

const styles = StyleSheet.create({
  container: { flex: 1, justifyContent: 'center', alignItems: 'center' },
  title: { fontSize: 20 },
});

export default CompleteProfileScreen;
