Без опису

12345678910111213141516171819
  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('Mocion');
  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. }