import React, { useState } from 'react'; import { View, Text, StyleSheet } from 'react-native'; import { CustomInput, PrimaryButton } from '@components'; import { useAppTheme } from '@theme'; import { useNavigation } from '@react-navigation/native'; import { NativeStackNavigationProp } from '@react-navigation/native-stack'; import { AuthStackParamList } from '@navigation/navigationTypes'; import { RouteNames } from '@utils/constants'; export const OtpScreen: React.FC<{ route: any }> = ({ route: _route }) => { const { colors } = useAppTheme(); const navigation = useNavigation>(); const [otp, setOtp] = useState(''); const handleVerify = () => { navigation.navigate(RouteNames.SetLocation); }; return ( Enter OTP ); }; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', padding: 20 }, title: { fontSize: 24, marginBottom: 20, textAlign: 'center' }, }); export default OtpScreen;