JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://getbootstrap.com/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="http://www.eyecon.ro/bootstrap-datepicker/css/datepicker.css">
<script src="https://raw.github.com/eternicode/bootstrap-datepicker/master/js/bootstrap-datepicker.js"></script>
<input class="datepicker" />

JavaScript

var FromEndDate = new Date();

  $(function () {
      $('.datepicker').datepicker({
          format: 'mm-dd-yyyy',
          startDate: '-15d',
          endDate: '+0d',
      });
  });