JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/css/bootstrap-datepicker3.css">
<input type="text" id="datepicker" />

JavaScript

$(document).ready(function(){
		var today = new Date();
		var deliveryThreshold = new Date();
		deliveryThreshold.setDate(deliveryThreshold.getDate() + 2);

    $('#datepicker').datepicker({
        //..
        startDate: '+1d',
        beforeShowDay: function(date) {
        	if (date >= today && date <= deliveryThreshold) {
          	return false;
          }
        }
    });
    
    console.log($.fn.datepicker.version);
});