Created
August 7, 2018 18:50
-
-
Save darde/25994baa7a37c039aa976a69a6515510 to your computer and use it in GitHub Desktop.
react-i18next-example/src/App.js
This file contains 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 React from 'react'; | |
import AppProvider from './components/context/AppProvider'; | |
import { I18nextProvider } from 'react-i18next'; | |
import i18n from './i18n'; | |
import Router from './components/Router'; | |
import Toolbar from './components/Toolbar'; | |
import './styles/styles.css'; | |
const App = () => ( | |
<div className='wrapper'> | |
<I18nextProvider i18n={i18n}> | |
<AppProvider> | |
<Toolbar /> | |
<Router /> | |
</AppProvider> | |
</I18nextProvider> | |
</div> | |
); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment