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 13, 2024
1 parent 5154124 commit 35964ed
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 35964ed

Please sign in to comment.