With touchableHighlight, I found that I could easily modify the overlay color using the following code:
<TouchableHighlight
onPress={this.toggle.bind(this)}
underlayColor="#f1f1f1">
However, when attempting to use an arrow function like this:
<TouchableHighlight
underlayColor="#f1f1f1"
onPress={() => {
this.toggle(!this.state.modalVisible)}}>
The underlayColor does not update. Any suggestions on how I can utilize the arrow function and change the underlayColor?