[DatePicker] Reduce scope of allowSameDateSelection prop #4727
Labels
breaking change
component: DatePicker
The React component.
component: pickers
This is the name of the generic UI component, not the React module!
The prop is described as:
https://github.com/mui-org/material-ui/blob/35e674311a97a72da806c04ba61e44fae79fdfee/packages/material-ui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx#L29-L33
The prop is used for the date-time picker, in order to allow switching between the calendar and time view. We can reduce the scope of the prop to only be exposed where need. It should likely only be available for the
PickersDay
component.The text was updated successfully, but these errors were encountered: