Sha256: fe892c777d4ec156de7dcb4f88ed7d6e3ba519ef95caa82fa743dc4a6bd1265f
Contents?: true
Size: 747 Bytes
Versions: 158
Compression:
Stored size: 747 Bytes
Contents
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import * as actions from './UpstreamSubscriptionsActions'; import reducer from './UpstreamSubscriptionsReducer'; import UpstreamSubscriptionsPage from './UpstreamSubscriptionsPage'; // map state to props const mapStateToProps = state => ({ upstreamSubscriptions: state.katello.upstreamSubscriptions }); // map action dispatchers to props const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch); // export reducers export const upstreamSubscriptions = reducer; // export connected component export default connect(mapStateToProps, mapDispatchToProps)(withRouter(UpstreamSubscriptionsPage));
Version data entries
158 entries across 158 versions & 1 rubygems