JSFiddle - React, Tailwind, and code Playground

by pratik24

HTML

<input type="hidden" id="dp" />

JavaScript

$("#dp").datepicker({
        buttonImage: '../images/icon_star.gif',
        buttonImageOnly: true,
        changeMonth: true,
        changeYear: true,
        showOn: 'both',
     });