JSFiddle - React, Tailwind, and code Playground
HTML
<div id='date'></div>
JavaScript
jQuery("#date").datepicker({
dateFormat: 'yy-mm-dd',
firstDay: '1',
showCurrentAtPos: -2,
showOtherMonths: 'true',
changeMonth: false,
changeYear: false
});