I have a button that looks like this...
<View style={styles.addToFavoritesStyle}>
<Button onPress={this.addToFavorites}>ADD TO FAVORITES</Button>
</View>
addToFavorites() {
...run some code
}
After the user presses the button, how can I change the button text to "REMOVE FROM FAVORITES", change the button styles, and call a different function?