Geen omschrijving

HomeScreen.js 612B

123456789101112131415161718192021
  1. import { propertiesListToString } from "@expo/config-plugins/build/android/Properties";
  2. import React from "react";
  3. import { StyleSheet, View, Text, Button } from 'react-native';
  4. import { globalStyles } from "../styles/global";
  5. export default function HomeScreen({ navigation }) {
  6. const pressHandler = () => {
  7. navigation.navigate('Pinpage')
  8. }
  9. return (
  10. <View style = {globalStyles.container}>
  11. <Text style = {globalStyles.tittleText}>Home Screen</Text>
  12. <Button title='Ir a pagina de pin' onPress={pressHandler} />
  13. </View>
  14. )
  15. }