JSFiddle - React, Tailwind, and code Playground

by stevebeauge

HTML

<input type="text" class="calendar"/>

JavaScript

(function($){$(function(){
    $(".calendar").datepicker({
      changeMonth: true,
      changeYear: true
    });
})(jQuery);