JSFiddle - React, Tailwind, and code Playground
HTML
<input type="checkbox" /><input type="checkbox" /><input type="checkbox" /><input type="checkbox" />
JavaScript
$(':checkbox').change(function(){
if (this.checked) {
$(this).siblings(':checkbox').attr('checked',false);
}
});