diff --git a/packages/material-ui-lab/src/DateRangePicker/DateRangePicker.tsx b/packages/material-ui-lab/src/DateRangePicker/DateRangePicker.tsx index 1945da8957c4b5..3787be770e5c74 100644 --- a/packages/material-ui-lab/src/DateRangePicker/DateRangePicker.tsx +++ b/packages/material-ui-lab/src/DateRangePicker/DateRangePicker.tsx @@ -55,8 +55,8 @@ interface BaseDateRangePickerProps value: RangeInput; } -const KeyboardDateInputComponent = DateRangePickerInput as React.FC; -const PureDateInputComponent = DateRangePickerInput as React.FC; +const KeyboardDateInputComponent = (DateRangePickerInput as unknown) as React.FC; +const PureDateInputComponent = (DateRangePickerInput as unknown) as React.FC; const rangePickerValueManager: PickerStateValueManager = { emptyValue: [null, null], diff --git a/packages/material-ui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx b/packages/material-ui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx index 76498ec8087bc5..e167c6e93e76da 100644 --- a/packages/material-ui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx +++ b/packages/material-ui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx @@ -62,7 +62,7 @@ interface BaseDateRangePickerProps value: RangeInput; } -const KeyboardDateInputComponent = DateRangePickerInput as React.FC; +const KeyboardDateInputComponent = (DateRangePickerInput as unknown) as React.FC; const rangePickerValueManager: PickerStateValueManager = { emptyValue: [null, null], diff --git a/packages/material-ui-lab/src/MobileDateRangePicker/MobileDateRangePicker.tsx b/packages/material-ui-lab/src/MobileDateRangePicker/MobileDateRangePicker.tsx index d915a7634e84d9..bf5ef18a1637a4 100644 --- a/packages/material-ui-lab/src/MobileDateRangePicker/MobileDateRangePicker.tsx +++ b/packages/material-ui-lab/src/MobileDateRangePicker/MobileDateRangePicker.tsx @@ -61,7 +61,7 @@ interface BaseDateRangePickerProps value: RangeInput; } -const PureDateInputComponent = DateRangePickerInput as React.FC; +const PureDateInputComponent = (DateRangePickerInput as unknown) as React.FC; const rangePickerValueManager: PickerStateValueManager = { emptyValue: [null, null],