JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" id="txtFromDate" />
JavaScript
var count = 10;
//Add the 2 days of weekend in numer of days .
var d = new Date();
count = count + (parseInt(count/5))*2;
d.setDate(d.getDate() +count);
//suppose its ending on weekend day then increment them manually
if(d.getDay()>5) { d.setDate(d.getDate()+ (d.getDay()-5)) ; }
$(document).ready(function () {
$("#txtFromDate").datepicker(
{ minDate: d,
beforeShowDay: $.datepicker.noWeekends,
changeMonth: true,
changeYear: true});
});