import { Text } from '@gluestack-ui/themed'; import {StyleProp, TextStyle} from 'react-native'; import { MyTouchableOpacity } from './MyTouchableOpacity'; interface MyClickableTextProps { textStyle?: StyleProp; text: string; onPress?: () => void; color?: string; } export function MyClickableText({textStyle, text, onPress, color}: MyClickableTextProps) { return ( {text} ); }