This commit is contained in:
Pat Teruel committed 2026-01-30 16:42:46 +08:00
1 parent 4eee4a9859
commit f3e347472e
7 files changed
+2930 -11

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import React from 'react';
import { Text, StyleSheet, TouchableOpacity } from 'react-native';
const MyText = ({ yournameherefromprops, onPress }) => {
return (
<TouchableOpacity onPress={onPress}>
<Text style={styles.redText}>
Hello, {yournameherefromprops}
</Text>
</TouchableOpacity>
);
};
const styles = StyleSheet.create({
redText: {
color: 'red',
fontSize: 24,
},
});
export default MyText;