JSFiddle - React, Tailwind, and code Playground
HTML
<input id="1" type="checkbox" checked="checked" />
JavaScript
$(function () {
$('input[type=checkbox]').button();
});
<input id="1" type="checkbox" checked="checked" />
$(function () {
$('input[type=checkbox]').button();
});