diff --git a/packages/material-ui-lab/src/DatePicker/shared.ts b/packages/material-ui-lab/src/DatePicker/shared.ts index 73c845acac68da..3a41bd61026976 100644 --- a/packages/material-ui-lab/src/DatePicker/shared.ts +++ b/packages/material-ui-lab/src/DatePicker/shared.ts @@ -44,7 +44,7 @@ export interface BaseDatePickerProps * Component that will replace default toolbar renderer. * @default DatePickerToolbar */ - ToolbarComponent?: React.JSXElementConstructor; + ToolbarComponent?: React.JSXElementConstructor>; /** * Array of views to show. */ diff --git a/packages/material-ui-lab/src/DateTimePicker/shared.ts b/packages/material-ui-lab/src/DateTimePicker/shared.ts index 3ea6ee8dcca2c4..a95e95e95e8e1a 100644 --- a/packages/material-ui-lab/src/DateTimePicker/shared.ts +++ b/packages/material-ui-lab/src/DateTimePicker/shared.ts @@ -67,7 +67,7 @@ export interface BaseDateTimePickerProps * Component that will replace default toolbar renderer. * @default DateTimePickerToolbar */ - ToolbarComponent?: React.JSXElementConstructor; + ToolbarComponent?: React.JSXElementConstructor>; /** * Date format, that is displaying in toolbar. */ diff --git a/packages/material-ui-lab/src/TimePicker/shared.tsx b/packages/material-ui-lab/src/TimePicker/shared.tsx index 3c7516291e2390..f3cd2779612eb7 100644 --- a/packages/material-ui-lab/src/TimePicker/shared.tsx +++ b/packages/material-ui-lab/src/TimePicker/shared.tsx @@ -28,7 +28,7 @@ export interface BaseTimePickerProps * Component that will replace default toolbar renderer. * @default TimePickerToolbar */ - ToolbarComponent?: React.JSXElementConstructor; + ToolbarComponent?: React.JSXElementConstructor>; /** * Array of views to show. */ diff --git a/packages/material-ui-lab/src/internal/pickers/typings/BasePicker.tsx b/packages/material-ui-lab/src/internal/pickers/typings/BasePicker.tsx index 58ee310d55c803..4dbeffeabcc965 100644 --- a/packages/material-ui-lab/src/internal/pickers/typings/BasePicker.tsx +++ b/packages/material-ui-lab/src/internal/pickers/typings/BasePicker.tsx @@ -79,7 +79,7 @@ export interface BasePickerProps { /** * Component that will replace default toolbar renderer. */ - ToolbarComponent?: React.JSXElementConstructor; + ToolbarComponent?: React.JSXElementConstructor>; /** * Date format, that is displaying in toolbar. */