JSFiddle - React, Tailwind, and code Playground
HTML
<input type="date" id="myInput" />
<div id="info">
</div>
JavaScript
$('#info').html("The element's <b>.type</b> is: " + $('#myInput').type + "<br />" + "The element's <b>.prop('type')</b> is: " + $('#myInput').prop('type'));