pass status of checkbox to a function react js code example
Example: pass status of checkbox to a function react js
<input type="checkbox"
name={field}
id={field}
onClick={(event) => this.buildTemplate(objectA, objectB, event.target.checked)}
/>