import React from 'react'; import { View, Text, KeyboardAvoidingView, Platform, ScrollView, } from 'react-native'; import { getStyles } from './loginScreen.styles'; import { CustomInput, PrimaryButton } from '@components'; import { useAppTheme } from '@theme'; import { useLoginScreen } from '../../../hooks'; export const LoginScreen: React.FC = () => { const { colors } = useAppTheme(); const styles = getStyles(colors); const { mobileNumber, error, onChangeMobileNumber, handleLogin } = useLoginScreen(); return ( {/* Hero / branding */} 🛵 QuickCart Delivered fast, every time {/* Form card */} Welcome back Login to continue 🇮🇳 +91 } /> {!error && ( We'll send a one-time password to verify this number )} By continuing, you agree to our{' '} Terms of Service and{' '} Privacy Policy ); };