Nessuna descrizione

Home.js 795B

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