diff --git a/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx b/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx index 703331f78c4f..193d28a0b03e 100644 --- a/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx +++ b/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx @@ -24,6 +24,14 @@ type DesktopTimePickerComponent = (( props: DesktopTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [DesktopTimePicker API](https://mui.com/x/api/date-pickers/desktop-time-picker/) + */ const DesktopTimePicker = React.forwardRef(function DesktopTimePicker( inProps: DesktopTimePickerProps, ref: React.Ref, @@ -415,12 +423,4 @@ DesktopTimePicker.propTypes = { views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired), } as any; -/** - * Demos: - * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [DesktopTimePicker API](https://mui.com/x/api/date-pickers/desktop-time-picker/) - */ export { DesktopTimePicker }; diff --git a/packages/x-date-pickers/src/MobileTimePicker/MobileTimePicker.tsx b/packages/x-date-pickers/src/MobileTimePicker/MobileTimePicker.tsx index fe00fa639e7d..ed0a34ce5aca 100644 --- a/packages/x-date-pickers/src/MobileTimePicker/MobileTimePicker.tsx +++ b/packages/x-date-pickers/src/MobileTimePicker/MobileTimePicker.tsx @@ -19,6 +19,14 @@ type MobileTimePickerComponent = (( props: MobileTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [MobileTimePicker API](https://mui.com/x/api/date-pickers/mobile-time-picker/) + */ const MobileTimePicker = React.forwardRef(function MobileTimePicker( inProps: MobileTimePickerProps, ref: React.Ref, @@ -357,12 +365,4 @@ MobileTimePicker.propTypes = { views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired), } as any; -/** - * Demos: - * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [MobileTimePicker API](https://mui.com/x/api/date-pickers/mobile-time-picker/) - */ export { MobileTimePicker }; diff --git a/packages/x-date-pickers/src/StaticTimePicker/StaticTimePicker.tsx b/packages/x-date-pickers/src/StaticTimePicker/StaticTimePicker.tsx index 57a470bb1726..4ae6773b22e1 100644 --- a/packages/x-date-pickers/src/StaticTimePicker/StaticTimePicker.tsx +++ b/packages/x-date-pickers/src/StaticTimePicker/StaticTimePicker.tsx @@ -13,6 +13,14 @@ type StaticTimePickerComponent = (( props: StaticTimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [StaticTimePicker API](https://mui.com/x/api/date-pickers/static-time-picker/) + */ const StaticTimePicker = React.forwardRef(function StaticTimePicker( inProps: StaticTimePickerProps, ref: React.Ref, @@ -274,12 +282,4 @@ StaticTimePicker.propTypes = { views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired), } as any; -/** - * Demos: - * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [StaticTimePicker API](https://mui.com/x/api/date-pickers/static-time-picker/) - */ export { StaticTimePicker }; diff --git a/packages/x-date-pickers/src/TimePicker/TimePicker.tsx b/packages/x-date-pickers/src/TimePicker/TimePicker.tsx index f8e5682fbf42..76e85f0ac960 100644 --- a/packages/x-date-pickers/src/TimePicker/TimePicker.tsx +++ b/packages/x-date-pickers/src/TimePicker/TimePicker.tsx @@ -12,6 +12,14 @@ type TimePickerComponent = (( props: TimePickerProps & React.RefAttributes, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) + * - [Validation](https://mui.com/x/react-date-pickers/validation/) + * + * API: + * - [TimePicker API](https://mui.com/x/api/date-pickers/time-picker/) + */ const TimePicker = React.forwardRef(function TimePicker( inProps: TimePickerProps, ref: React.Ref, @@ -337,12 +345,4 @@ TimePicker.propTypes = { views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired), } as any; -/** - * Demos: - * - [TimePicker](https://mui.com/x/react-date-pickers/time-picker/) - * - [Validation](https://mui.com/x/react-date-pickers/validation/) - * - * API: - * - [TimePicker API](https://mui.com/x/api/date-pickers/time-picker/) - */ export { TimePicker };