I found this answer for sending a single value to a function onClick. Is it possible to send two? I've tried
<button value={valueA, valueB } onClick={ () => this.toggleEditing.bind(this, valueA, valueB) } className="slds-button slds-button--icon">
<svg className="slds-button__icon" aria-hidden="true">
<use xlinkHref={closeIcon}></use>
</svg>
<span className="slds-assistive-text">Cancel</span>
</button>
But my second argument in toggleEdit()
is the mouse event.