Sha256: d8ef4ed9c32fee55ef04acceccf6ce9671ba9957589e254b3d3fb48e1c647d18

Contents?: true

Size: 787 Bytes

Versions: 21

Compression:

Stored size: 787 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';

import * as actions from './AccountListActions';
import reducer from './AccountListReducer';
import AccountList from './AccountList';
import {
  selectAccounts,
  selectPollingProcessID,
  selectError,
} from './AccountListSelectors';

// map state to props
const mapStateToProps = state => ({
  accounts: selectAccounts(state),
  pollingProcessID: selectPollingProcessID(state),
  error: selectError(state),
});

// map action dispatchers to props
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);

// export reducers
export const reducers = { accountsList: reducer };

// export connected component
export default connect(mapStateToProps, mapDispatchToProps)(AccountList);

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
foreman_rh_cloud-0.9.6 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-1.0.6 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-2.0.6 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-0.9.5 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-1.0.5 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-2.0.5 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-0.9.4.1 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-1.0.4.1 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-1.0.4 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-2.0.4 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_rh_cloud-0.9.4 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-2.0.4.pre.2 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-2.0.4.pre.1 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-2.0.3 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-1.0.3 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-0.9.2 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-1.0.2 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-0.9.1 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-1.0.1 webpack/ForemanInventoryUpload/Components/AccountList/index.js
foreman_inventory_upload-0.9.0 webpack/ForemanInventoryUpload/Components/AccountList/index.js