react native onpress on text code example
Example: textinput onpress react native
<TouchableOpacity onPress={() => console.log("Pressed")}>
<TextInput
pointerEvents="none"
/>
</TouchableOpacity>
<TouchableOpacity onPress={() => console.log("Pressed")}>
<TextInput
pointerEvents="none"
/>
</TouchableOpacity>