This commit is contained in:
CHIEFSOFT\ameye
2024-08-29 15:09:13 -04:00
parent 975ed05ad9
commit a3cea2a616
+8 -4
View File
@@ -1,8 +1,10 @@
import { Stack, useNavigation } from 'expo-router';
import { ImageBackground, StyleSheet, Button, TextInput, Text, View ,Image,Alert } from 'react-native';
import { useEffect } from 'react';
import { useEffect,useState } from 'react';
const Home =()=> {
const [username, onChangeUsername] = useState('');
const [password, onChangePassword] = useState('');
const image = {uri: 'https://rader.app/assets/images/app/home.jpg'};
@@ -21,7 +23,8 @@ const Home =()=> {
name='username'
editable
maxLength={40}
value=''
value={username}
onChangeText={onChangeUsername}
style={styles.textInp}
/>
@@ -29,7 +32,8 @@ const Home =()=> {
name ='password'
editable
maxLength={40}
value=''
value={password}
onChangeText={onChangePassword}
style={styles.textInp}
/>
@@ -67,7 +71,7 @@ const styles = StyleSheet.create({
margin:'auto'
},
textInp:{
padding: '10',
padding: '10px',
backgroundColor: 'whitesmoke',
fontSize:'18px',
borderRadius: '5px'