JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<input type='text' id='myInput' style='width:200px;' />

JavaScript

$(document).ready(function ()
            {
                $('#myInput').datepicker({ changeYear: true, showButtonPanel: true, yearRange: '2009:2010' });
            });