Açıklama Yok

Contact.js 896B

123456789101112131415161718192021222324252627282930313233343536
  1. //Nathalia A. ALicea Maldonado
  2. //Pantalla de Sobre Contacto. No se está utilizando.
  3. import React from 'react';
  4. import {View, Text, StyleSheet, Button} from 'react-native';
  5. export default function Contact({navigation}){
  6. return(
  7. <View style = {styles.container}>
  8. <View style = {styles.content}>
  9. <Text style = {styles.text}>
  10. Contact is here!
  11. </Text>
  12. <Button title = "Go back!" onPress ={()=> navigation.goBack()} />
  13. </View>
  14. </View>
  15. )
  16. }
  17. const styles = StyleSheet.create({
  18. container:{
  19. flex:1
  20. },
  21. content:{
  22. flex:1,
  23. alignItems: 'center',
  24. justifyContent: 'center',
  25. backgroundColor: '#c203fc'
  26. },
  27. text:{
  28. fontSize: 20,
  29. color: '#ffffff',
  30. fontWeight: "800"
  31. }
  32. })