I have something like this in React Native
<View>
<Text>Hello</Text>
<Text>World</Text>
</View>
which is created by mapping through text and wrapping each sentence or chunk of text in a View, and each word in a Text component.
Is there any way I can get all of the text content of the View component by pressing on any of the children? Like tapping "Hello" and getting "Hello World" loaded into state.