change log content

This commit is contained in:
Simone Taeggi 2022-12-12 09:40:49 +01:00
parent 465182240d
commit c35a5636e4

View File

@ -1,12 +1,12 @@
import React, { useEffect } from 'react';
import { DateTimePicker as MyDateTimePicker } from '@strapi/design-system';
// TODO: remove DateTimePicker component from the helper-plugin in V5
export default function DateTimePicker(props) {
useEffect(() => {
if (process.env.NODE_ENV === 'development') {
console.log(
`
TODO V5: remove DateTimePicker component from the helper-plugin
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';"
`
);