Created
August 28, 2019 17:43
-
-
Save AdamRamberg/cbc447c868e007053919a9c437012765 to your computer and use it in GitHub Desktop.
Translate your React app with ease using Facebook's own framework (FBT) - index.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 { LocaleProvider } from 'fbt-easy-setup'; | |
import ReactDOM from 'react-dom'; | |
const App = () => ( | |
<LocaleProvider> | |
{/* Rest of your app goes here... */} | |
</LocaleProvider> | |
); | |
ReactDOM.render(<App />, document.getElementById('root')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment