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 + } + }) +