From ee9588762bc89d6901b921ea46e08830d0d9805a Mon Sep 17 00:00:00 2001 From: Wilhelm Behncke Date: Fri, 28 Jun 2024 12:14:38 +0200 Subject: [PATCH] TASK: Deprecate ``-component --- packages/neos-ui-i18n/src/component/I18n.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/neos-ui-i18n/src/component/I18n.tsx b/packages/neos-ui-i18n/src/component/I18n.tsx index db5655039f..e14b6d353a 100644 --- a/packages/neos-ui-i18n/src/component/I18n.tsx +++ b/packages/neos-ui-i18n/src/component/I18n.tsx @@ -29,6 +29,9 @@ interface I18nProps { className?: string; } +/** + * @deprecated Use `import {tranlsate} from '@neos-project/neos-ui-i18n'` instead + */ export class I18n extends React.PureComponent { public render(): JSX.Element { const {packageKey, sourceName, params, id, fallback} = this.props;