Created
November 16, 2019 20:29
-
-
Save theodesp/452e311364123f55b5b1bc23c042d5e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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