Sha256: f61825729420b7d1f0d507a5a692af02ee0712c52284f6102fc64ab4fb8760b4
Contents?: true
Size: 636 Bytes
Versions: 22
Compression:
Stored size: 636 Bytes
Contents
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import * as actions from './ExcludePackagesSwitcherActions'; import ExcludePackagesSwitcher from './ExcludePackagesSwitcher'; import { selectExcludePackages } from '../AccountList/AccountListSelectors'; // map state to props const mapStateToProps = state => ({ excludePackages: selectExcludePackages(state), }); // map action dispatchers to props const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch); // export connected component export default connect( mapStateToProps, mapDispatchToProps )(ExcludePackagesSwitcher);
Version data entries
22 entries across 22 versions & 1 rubygems