JSFiddle - React, Tailwind, and code Playground
HTML
<p>Date: <input type="text" id="startDate" /></p>
<p>Date: <input type="text" id="endtDate" /></p>
JavaScript
$(function() {
$( "#startDate , #endtDate" ).datepicker();
});
<p>Date: <input type="text" id="startDate" /></p>
<p>Date: <input type="text" id="endtDate" /></p>
$(function() {
$( "#startDate , #endtDate" ).datepicker();
});