Open powerdong opened 4 years ago
<button onClick={this.handleClick.bind(this, props0, props1, ...}></button> handleClick(porps0, props1, ..., event) { // your code here } <button onClick={(ev) => {this.handleClick(ev, arg1, arg2,……)}}/> handleClick(ev, arg1, arg,……) { //code }