@waves/ui-translator
v0.0.2
Published
* TranslateProvider * translate * MDComp * Parser * RenderLink * RenderTag
Downloads
3
Maintainers
Keywords
Readme
Components for working with i18next
- TranslateProvider
- translate
- MDComp
- Parser
- RenderLink
- RenderTag
Wrap your app with TranslateProvider and pass in Provider i18next instance.
<TranslateProvider i18n={i18n}>
<App />
</TranslateProvider>
Use translate function with your components, it got one argument namespace
export default translate('app')(App);