Closed tondi closed 3 years ago
Im trying to use MobileDateRangePicker with renderDay in 4.0.0-alpha.12
MobileDateRangePicker
renderDay
import { DateRangeDay } from '@material-ui/pickers/DateRangePicker/DateRangePickerDay'; <MobileDateRangePicker renderDay={(date, DateRangeDayProps) => <DateRangeDay {...DateRangeDayProps} />} {/* ...otherProps /*} />
Getting Module not found: Can't resolve '@material-ui/pickers/DateRangePicker/DateRangePickerDay'
Module not found: Can't resolve '@material-ui/pickers/DateRangePicker/DateRangePickerDay'
DateRangeDay
@material-ui/pickers
@example (date, DateRangeDayProps) => <DateRangePickerDay {...DateRangeDayProps} />
DateRangePickerDay
Why is this component not available publicly?
Closing as it's available in v5 https://next.material-ui.com/api/date-range-picker-day/
Current Behavior 😯
Im trying to use
MobileDateRangePicker
withrenderDay
in 4.0.0-alpha.12Getting
Module not found: Can't resolve '@material-ui/pickers/DateRangePicker/DateRangePickerDay'
DateRangeDay
component is neither exported from@material-ui/pickers
renderDay
in https://v4-0-0-alpha-12.material-ui-pickers.dev/api/DateRangePicker shows@example (date, DateRangeDayProps) => <DateRangePickerDay {...DateRangeDayProps} />
mentioningDateRangePickerDay
which is also not exportedWhy is this component not available publicly?