JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://raw.github.com/eternicode/bootstrap-datepicker/master/js/bootstrap-datepicker.js"></script>
<link rel="stylesheet" href="http://www.eyecon.ro/bootstrap-datepicker/css/datepicker.css">
<link rel="stylesheet" href="http://getbootstrap.com/dist/css/bootstrap.min.css">
<input class="datepicker" />
JavaScript
$(function() {
$('.datepicker').datepicker({
format: 'mm-dd-yyyy',
startDate: '-15d',
endDate: '+0d',
});
});