diff --git a/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js b/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js index 61085918a5..32fb1c3ad0 100644 --- a/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js +++ b/packages/core/helper-plugin/lib/src/components/DateTimePicker/index.js @@ -124,6 +124,14 @@ const DateTimePicker = ({ } }, [value]); + useEffect(() => { + console.warn( + ` + Deprecation warning: Usage of "DateTimePicker" component from the helper-plugin is deprecated and will be removed in the next major release. Instead, use the DateTimePicker from the Design System: import { DateTimePicker } from '@strapi/design-system/DateTimePicker';" + ` + ); + }, []); + return (