Skip to content

Commit

Permalink
TASK: Deprecate <I18n/>-component
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi committed Jun 28, 2024
1 parent a12ea54 commit 1c5a56c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/neos-ui-i18n/src/component/I18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<I18nProps> {
public render(): JSX.Element {
const {packageKey, sourceName, params, id, fallback} = this.props;
Expand Down

0 comments on commit 1c5a56c

Please sign in to comment.