material ui datepicker disable dates code example
Example: material ui datepicker remove error
<DateTimePicker
disablePast
error={false}
helperText={null}
/>
<DateTimePicker
disablePast
error={false}
helperText={null}
/>