I have a which has it own onClick() event. I want the user to be able to click anywhere in the div to perform an action (flipping the card over). However, there is also a button in that DIV as well. For the button, I do not want it to call the div's onClick() (so don't flip card over).
<div onClick={this.handleClick}>
<button onClick={this.buttonClickEvent}>menu</button>
</div>
Any idea on how to perform this?