Skip to content

Commit

Permalink
TASK: Deprecate <I18n/>-component
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi authored and markusguenther committed Dec 16, 2024
1 parent 0cc3772 commit ee95887
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 ee95887

Please sign in to comment.