JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
Date of Birth: <input type="date" class="datepicker">

JavaScript

$(".datepicker").datepicker({
                    changeMonth: true,
                    changeYear: true,
                    minDate: "-50Y",
                    maxDate: "-6Y"
                });