react-i18not
v0.1.1
Published
Minimalist localization library
Downloads
40
Maintainers
Readme
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>;
};