log in css fix
This commit is contained in:
parent
0233e0c0b4
commit
2d0d55358d
|
@ -31,11 +31,14 @@ const styles = StyleSheet.create({
|
||||||
paddingBottom: 10,
|
paddingBottom: 10,
|
||||||
paddingLeft: 0,
|
paddingLeft: 0,
|
||||||
marginTop: 50,
|
marginTop: 50,
|
||||||
marginBottom: 10
|
marginBottom: 10,
|
||||||
|
borderRadius: 4
|
||||||
},
|
},
|
||||||
|
|
||||||
iconStyle: {
|
iconStyle: {
|
||||||
padding: 10,
|
paddingBottom: 20,
|
||||||
|
marginTop: 3,
|
||||||
|
paddingTop: 35
|
||||||
},
|
},
|
||||||
|
|
||||||
viewSection: {
|
viewSection: {
|
||||||
|
@ -43,7 +46,8 @@ const styles = StyleSheet.create({
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
margin: 10
|
|
||||||
|
marginBottom: 28
|
||||||
},
|
},
|
||||||
|
|
||||||
container: {
|
container: {
|
||||||
|
@ -53,6 +57,9 @@ const styles = StyleSheet.create({
|
||||||
|
|
||||||
const iniciarSesion = async() => {
|
const iniciarSesion = async() => {
|
||||||
|
|
||||||
|
const userData = FormControl.toString;
|
||||||
|
console.log(userData);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
await fetch(baseURL, {
|
await fetch(baseURL, {
|
||||||
|
@ -145,7 +152,7 @@ export default function LogIn({navigation}) {
|
||||||
<FormControl.Label> Contraseña </FormControl.Label>
|
<FormControl.Label> Contraseña </FormControl.Label>
|
||||||
<View style={styles.viewSection}>
|
<View style={styles.viewSection}>
|
||||||
<MaterialCommunityIcons name="form-textbox-password" size={20} color="grey" style={styles.iconStyle}/>
|
<MaterialCommunityIcons name="form-textbox-password" size={20} color="grey" style={styles.iconStyle}/>
|
||||||
<TextInput type="password" style={styles.input} placeholder='Contraseña'/>
|
<TextInput type="password" style={styles.input} placeholder='Contraseña' />
|
||||||
</View>
|
</View>
|
||||||
<Link
|
<Link
|
||||||
_text={{
|
_text={{
|
||||||
|
|
Loading…
Reference in New Issue