title: React Datepicker include days in the future without weekends
body: <p>I'm using React Datepicker found here: <a href="https://reactdatepicker.com/#example-11" rel="nofollow noreferrer">https://reactdatepicker.com/#example-11</a></p>
  <p>What I'm trying to do is only allow the user to select a day UP TO 3 &quot;business&quot; days in advance. Using <code>filterDate</code> I was able to filter calendar to only display weekdays. I see in the documentation they have a <code>includeDates</code> prop to allow user to only select certain dates. I'm trying to figure out how to only include up to 3 business days. So if today is Friday. The user will only be able to select: Friday, Monday, Tuesday for that week.</p>
  <p>Here is my code:</p>
  <pre><code>        this.state = {
              dateFrom: new Date(),
          }
  
  render() {
  
      const isWeekday = date =&gt; {
          const day = getDay(date);
          return day !== 0 &amp;&amp; day !== 6;
      };      
  
  
      return (
          &lt;div&gt;
          
              &lt;DatePicker
                  selected={this.state.dateFrom}
                  filterDate={isWeekday}
                  //includeDates={[new Date(), addDays(new Date(), 1)]}
                  onChange={date=&gt;this.setState({dateFrom: date })}
                  className=&quot;form-control&quot;
              /&gt;
  
  
          &lt;/div&gt;
      )
  }
  </code></pre>