If I want to prevent the onPress event on the View
component propagating to the parent Touchable
for the following Sample
component, what's the best option other than wrapping the child view in a Touchable
please?
export default function Sample (): Element<*> {
return(
<TouchableOpacity>
<View>
<Text>Sample</Text>
</View>
</TouchableOpacity>
);
}