diff --git a/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx b/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx index c0adaaede779..8d5727f6c6eb 100644 --- a/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx +++ b/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx @@ -12,6 +12,14 @@ type DateTimePickerComponent = (( props: DateTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/) + */ const DateTimePicker = React.forwardRef(function DateTimePicker( inProps: DateTimePickerProps, ref: React.Ref, @@ -449,12 +457,4 @@ DateTimePicker.propTypes = { yearsPerRow: PropTypes.oneOf([3, 4]), } as any; -/** - * Demos: - * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/) - */ export { DateTimePicker }; diff --git a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx index 177530258ad3..7ecca20297f8 100644 --- a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx +++ b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx @@ -22,6 +22,14 @@ type DesktopDateTimePickerComponent = (( props: DesktopDateTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [DesktopDateTimePicker API](https://mui.com/x/api/date-pickers/desktop-date-time-picker/) + */ const DesktopDateTimePicker = React.forwardRef(function DesktopDateTimePicker( inProps: DesktopDateTimePickerProps, ref: React.Ref, @@ -531,12 +539,4 @@ DesktopDateTimePicker.propTypes = { yearsPerRow: PropTypes.oneOf([3, 4]), } as any; -/** - * Demos: - * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [DesktopDateTimePicker API](https://mui.com/x/api/date-pickers/desktop-date-time-picker/) - */ export { DesktopDateTimePicker }; diff --git a/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx b/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx index 9eda8c3b7ca1..ccaf1dca8e79 100644 --- a/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx +++ b/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx @@ -20,6 +20,14 @@ type MobileDateTimePickerComponent = (( props: MobileDateTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [MobileDateTimePicker API](https://mui.com/x/api/date-pickers/mobile-date-time-picker/) + */ const MobileDateTimePicker = React.forwardRef(function MobileDateTimePicker( inProps: MobileDateTimePickerProps, ref: React.Ref, @@ -482,12 +490,4 @@ MobileDateTimePicker.propTypes = { yearsPerRow: PropTypes.oneOf([3, 4]), } as any; -/** - * Demos: - * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [MobileDateTimePicker API](https://mui.com/x/api/date-pickers/mobile-date-time-picker/) - */ export { MobileDateTimePicker }; diff --git a/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx b/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx index dea08dd5af51..27c62bf2d23d 100644 --- a/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx +++ b/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx @@ -14,6 +14,14 @@ type StaticDateTimePickerComponent = (( props: StaticDateTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [StaticDateTimePicker API](https://mui.com/x/api/date-pickers/static-date-time-picker/) + */ const StaticDateTimePicker = React.forwardRef(function StaticDateTimePicker( inProps: StaticDateTimePickerProps, ref: React.Ref, @@ -400,12 +408,4 @@ StaticDateTimePicker.propTypes = { yearsPerRow: PropTypes.oneOf([3, 4]), } as any; -/** - * Demos: - * - [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [StaticDateTimePicker API](https://mui.com/x/api/date-pickers/static-date-time-picker/) - */ export { StaticDateTimePicker };