title: How to disable list of dates in MUI date picker
body: <p>I want to disable MUI date picker future dates (only selected dates not all future dates)<br />
  I am getting array of dates from API which needs to be disabled from date picker.</p>
  <p>Assume that below <strong>blackoutDates</strong> are what i am getting from API. So how to disable those dates ?</p>
  <p>Below is my code</p>
  <pre><code>const getDisabledDates = () =&gt; {
   let blackoutDates = {[
      &quot;2022-03-01&quot;,
      &quot;2022-03-08&quot;
      &quot;2022-04-13&quot;,
      &quot;2022-05-22&quot;
   ]}
  }
  </code></pre>
  <pre><code>&lt;DatePicker
    disablePast
    value={checkout.rideDate}
    shouldDisableDate={getDisabledDates}
    onChange={(newValue) =&gt; {
     dispatch(setRideDate(newValue?.toISOString().split('T')[0]))
     }}
    renderInput={(params) =&gt; &lt;TextField  className={classes.datePickerStyle} {...params}/&gt;}
  /&gt;
  </code></pre>