diff --git a/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePickerToolbar.tsx b/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePickerToolbar.tsx index a229133a3343..03eabe0b0166 100644 --- a/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePickerToolbar.tsx +++ b/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePickerToolbar.tsx @@ -56,6 +56,16 @@ const DateRangePickerToolbarContainer = styled('div', { display: 'flex', }); +/** + * Demos: + * + * - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/) + * - [Custom components](https://mui.com/x/react-date-pickers/custom-components/) + * + * API: + * + * - [DateRangePickerToolbar API](https://mui.com/x/api/date-pickers/date-range-picker-toolbar/) + */ const DateRangePickerToolbar = React.forwardRef(function DateRangePickerToolbar< TDate extends unknown, >(inProps: DateRangePickerToolbarProps, ref: React.Ref) { diff --git a/packages/x-date-pickers/src/DatePicker/DatePickerToolbar.tsx b/packages/x-date-pickers/src/DatePicker/DatePickerToolbar.tsx index 58f02f4c42b7..b650b1bff51f 100644 --- a/packages/x-date-pickers/src/DatePicker/DatePickerToolbar.tsx +++ b/packages/x-date-pickers/src/DatePicker/DatePickerToolbar.tsx @@ -53,6 +53,16 @@ type DatePickerToolbarComponent = (( props: DatePickerToolbarProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [DatePicker](https://mui.com/x/react-date-pickers/date-picker/) + * - [Custom components](https://mui.com/x/react-date-pickers/custom-components/) + * + * API: + * + * - [DatePickerToolbar API](https://mui.com/x/api/date-pickers/date-picker-toolbar/) + */ const DatePickerToolbar = React.forwardRef(function DatePickerToolbar( inProps: DatePickerToolbarProps, ref: React.Ref, diff --git a/packages/x-date-pickers/src/DateTimePicker/DateTimePickerToolbar.tsx b/packages/x-date-pickers/src/DateTimePicker/DateTimePickerToolbar.tsx index ec5faeceb802..33e9119f5311 100644 --- a/packages/x-date-pickers/src/DateTimePicker/DateTimePickerToolbar.tsx +++ b/packages/x-date-pickers/src/DateTimePicker/DateTimePickerToolbar.tsx @@ -185,6 +185,16 @@ const DateTimePickerToolbarAmPmSelection = styled('div', { }, })); +/** + * Demos: + * + * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) + * - [Custom components](https://mui.com/x/react-date-pickers/custom-components/) + * + * API: + * + * - [DateTimePickerToolbar API](https://mui.com/x/api/date-pickers/date-time-picker-toolbar/) + */ function DateTimePickerToolbar(inProps: DateTimePickerToolbarProps) { const props = useThemeProps({ props: inProps, name: 'MuiDateTimePickerToolbar' }); const { diff --git a/packages/x-date-pickers/src/TimePicker/TimePickerToolbar.tsx b/packages/x-date-pickers/src/TimePicker/TimePickerToolbar.tsx index 1ff47e3ead4a..bfb788628d54 100644 --- a/packages/x-date-pickers/src/TimePicker/TimePickerToolbar.tsx +++ b/packages/x-date-pickers/src/TimePicker/TimePickerToolbar.tsx @@ -143,6 +143,16 @@ TimePickerToolbarAmPmSelection.propTypes = { ]), } as any; +/** + * Demos: + * + * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) + * - [Custom components](https://mui.com/x/react-date-pickers/custom-components/) + * + * API: + * + * - [TimePickerToolbar API](https://mui.com/x/api/date-pickers/time-picker-toolbar/) + */ function TimePickerToolbar(inProps: TimePickerToolbarProps) { const props = useThemeProps({ props: inProps, name: 'MuiTimePickerToolbar' }); const {