- Initial commit
This commit is contained in:
21
index.android.js
Normal file
21
index.android.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @format
|
||||
*/
|
||||
|
||||
import { AppRegistry } from 'react-native';
|
||||
import React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
|
||||
import App from './app/App';
|
||||
import { name as appName } from './app.json';
|
||||
import { store } from './app/store/index.js';
|
||||
|
||||
const connectedApp = () => {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
</Provider>
|
||||
);
|
||||
};
|
||||
|
||||
AppRegistry.registerComponent(appName, () => connectedApp);
|
||||
Reference in New Issue
Block a user