JSFiddle - React, Tailwind, and code Playground
HTML
Start date: <input type="text" id="txtStartDate">
<input id="btnValidateDate" type="button" value="Validate Dates" />
JavaScript
$(function(){
$( "#txtStartDate" ).datepicker();
});