JSFiddle - React, Tailwind, and code Playground
HTML
<input type="checkbox" name="chb" class="optionChk" value="check me" checked="checked">
<input type="submit" name="submit" value="submit">
JavaScript
$(".optionChk").on("change", function () {
if ($(this).is(":checked")) {
$("input[type=submit]").removeAttr("disabled");
} else {
$("input[type=submit]").attr("disabled", "disabled");
}
});