Created
March 2, 2017 09:44
-
-
Save alfian0/a27dbc0c1c1ca9f4b409459a3c1ae73b to your computer and use it in GitHub Desktop.
This file contains hidden or 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, { Component } from 'react'; | |
| import { connect } from 'react-redux'; | |
| import { bindActionCreators } from 'redux'; | |
| import { ActionCreators } from '../actions'; | |
| import ApplicationTabs from '../components/ApplicationTabs'; | |
| class AppContainer extends Component { | |
| render() { | |
| return ( | |
| <ApplicationTabs {...this.props} /> | |
| ); | |
| } | |
| } | |
| function mapDispatchToProps(dispatch) { | |
| return bindActionCreators(ActionCreators, dispatch); | |
| } | |
| export default connect(state => ({}), mapDispatchToProps)(AppContainer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment