JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css">
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
<input type='text' id='date'>
JavaScript
$('#date').datepicker( {
dateFormat : 'dd-mm-yy',
changeMonth : true,
changeYear : true,
yearRange : "-0:+1",
});