JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
<div class="demo">
<button>click me</button>
<p>Date: <input type="text" id="datepicker"></p>
</div>
JavaScript
//$("#datepicker").datepicker();
$("button").click(function() {
$("#datepicker").datepicker("show");
});