JSFiddle - React, Tailwind, and code Playground

HTML

<p>Date: <input type="text" id="datepicker"></p>

CSS

.breakAfter {
    display:block;
}
.grouped {
    border: 1px solid green;
    width:44px;
    display:inline-block;
}

JavaScript

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