From 150171fd3b5d8f056835df1d1335399bf0e66bcc Mon Sep 17 00:00:00 2001 From: Maria Sanchez Date: Mon, 22 Aug 2022 00:52:20 -0600 Subject: [PATCH] guarda de seguridad --- mobile-ui/components/ProfileGuarda.js | 61 +++++++++++++++++++++------ 1 file changed, 49 insertions(+), 12 deletions(-) diff --git a/mobile-ui/components/ProfileGuarda.js b/mobile-ui/components/ProfileGuarda.js index b481f2c8..83efcf97 100644 --- a/mobile-ui/components/ProfileGuarda.js +++ b/mobile-ui/components/ProfileGuarda.js @@ -4,21 +4,32 @@ import { Box, Heading, VStack, - FormControl, - Input, + FormControl, Button, - Center + Center, + ScrollView } from "native-base"; -export default function ProfileGuarda({navigation}){ + import { View, TextInput, StyleSheet } from "react-native"; +export default function ProfileGuarda({route, navigation}){ + + const userData = JSON.parse(JSON.stringify(route.params)); + + console.log(userData.user); return (
+ + - Katoikia + Bienvenido {userData.user.name} + + DNI + + Nombre - + - Correo Electrónico - + Apellido + - Teléfono - + Correo electrónico + Contraseña actual - + + +
) -} \ No newline at end of file + + +} + +const styles = StyleSheet.create({ + input: { + height: 10, + margin:3, + borderWidth: 0.5, + padding: 5, + flex: 1, + paddingTop: 9, + paddingRight: 19, + paddingBottom: 20, + paddingLeft: 0, + marginTop: 6, + marginBottom:6, + borderRadius: 4 + } + }) +