Skip to content

Instantly share code, notes, and snippets.

@jazmon
Last active March 20, 2017 17:33
Show Gist options
  • Save jazmon/e22df82a2297e4da3229890df926898f to your computer and use it in GitHub Desktop.
Save jazmon/e22df82a2297e4da3229890df926898f to your computer and use it in GitHub Desktop.
React Native i18n - Main.js
import React from 'react';
// Import the i18n bundle
import './i18n';
// Rest of the app setup
import { Provider } from 'react-redux';
import App from './App';
import configureStore from './configureStore';
const store = configureStore();
const Main = () => (
<Provider store={store}>
<App />
</Provider>
);
export default Main;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment