0.1.1 • Published 9 months ago
react-i18not v0.1.1
Example usage
Make sure to first initalize the library, see i18not for more info.
import React from 'react';
import { useTranslation } from 'react-i18not';
export const HelloWorld: React.FC = () => {
const { t } = useTranslation();
return <div>{t('hello')}</div>;
};