reverse-proxy-frontend/private/Notes.txt

9 lines
182 B
Plaintext
Raw Normal View History

2020-05-13 17:56:51 +03:00
withTranslation()(LegacyComponentClass)
const { t } = this.props;
import { useTranslation } from 'react-i18next';
function MyComponent() {
const { t, i18n } = useTranslation();