JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" id="checkmarcacao1" name="checkmarcacao1" value="checkmarcacao1">
<input type="time" id="hora101" name="hora101" disabled="disabled">

JavaScript

$(document).ready(function () {
	$('input[name=checkmarcacao1]').change(function() {
  	if ($(this).is(':checked')) {
    	$('input[name=hora101]').removeAttr('disabled');
		} else {
    	$('input[name=hora101]').attr('disabled',true);
		}
	});
});