I am trying to pass a two-event action on onClick in ReactJs Basically I wanted something like
<div className="botao shadow-drop-center col xl12 l12 m12 s12" onClick={(prop1.value1 === prop2.value2), this.continue(project)} >
I tried 1000 different ways of writing the syntax
<div className="botao shadow-drop-center col xl12 l12 m12 s12" onClick={(prop1.value1 === prop2.value2), this.continue(project)} >
My expected results are that when the user clicks on the button, that the pro1 becomes the prop2 and at the same time does "this.continue()".