score:1

Accepted answer
<input
     type="checkbox"
     id="0"
     disabled={currentAmount>10} //put your condition here 
     onClick={(e) => {
          updateCheckbox(e.target.id, e.target.checked);
     }}
 />

Related Query

More Query from same tag