/** * Sample React Native App * https://github.com/facebook/react-native * * Generated with the TypeScript template * https://github.com/react-native-community/react-native-template-typescript * * @format */ import React, { useRef } from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, Image, TextInput, Button, Alert, TouchableOpacity, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; import LinearGradient from 'react-native-linear-gradient'; declare const global: {HermesInternal: null | {}}; const App = () => { const passwordInput = useRef(); return ( <> {passwordInput.current.focus()}} blurOnSubmit={false} autoCompleteType='username' textContentType='username' keyboardType='ascii-capable' />