JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" name"myCheck" id="chk1"/>Checkbox</label>

JavaScript

// Check
$(':checkbox').hover(function(){
	if($(this).not(':checked').length) {
		$(this).prop('checked', true);
    }
    else if($(this).is(':checked')){
		$(this).prop('checked', false);
    }
})