Skip to content

Instantly share code, notes, and snippets.

@theodesp theodesp/index.js
Created Nov 16, 2019

Embed
What would you like to do?
import { I18nProvider } from '@lingui/react';
import catalogEl from './locales/el/messages.js';
import catalogEn from './locales/en/messages.js';
const catalogs = { en: catalogEn, el: catalogEl };
ReactDOM.render(
<I18nProvider
language={i18nConfig.locale}
catalogs={catalogs}
>
<Home name={'React.js'}/>
</IntlProvider>, document.getElementById('root'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.