This reverts commit 36775007b0.
This commit is contained in:
Adam Miskiewicz
2018-01-17 14:43:28 -08:00
parent 36775007b0
commit f895564605
70 changed files with 26715 additions and 6 deletions

View File

@@ -0,0 +1,27 @@
/**
* @flow
*/
import React from 'react';
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import AppReducer from './src/reducers';
import AppWithNavigationState from './src/navigators/AppNavigator';
class ReduxExampleApp extends React.Component {
store = createStore(AppReducer);
render() {
return (
<Provider store={this.store}>
<AppWithNavigationState />
</Provider>
);
}
}
AppRegistry.registerComponent('ReduxExample', () => ReduxExampleApp);
export default ReduxExampleApp;