In order for any element to handle touch / click events in the React-Native user interface, you need to place the element in the element TouchableOpacity, TouchableWithoutFeedback, TouchableNativeFeedback or TouchableHighlight:
<TouchableHighlight onPress = { this.onClick }> <View style={styles.container}> <Text style={styles.welcome}> Tap to change the background </Text> </View> </TouchableHighlight>
Hope this helps.
source share