Keine Beschreibung

HomeScreen.js 602B

12345678910111213141516171819
  1. import { propertiesListToString } from "@expo/config-plugins/build/android/Properties";
  2. import React, { useEffect, useState }from "react";
  3. import { StyleSheet, View, Text, Button } from 'react-native';
  4. import { globalStyles } from "../styles/global";
  5. export default App = ({ 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="go to pin page" onPress={pressHandler}/>
  13. </View>
  14. )
  15. }