Sha256: dc26fd8b77e59aef00652a6e843e6de8093166193ef6103d7b2d5fe6eba58bf2

Contents?: true

Size: 545 Bytes

Versions: 44

Compression:

Stored size: 545 Bytes

Contents

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

import * as actions from './SyncButtonActions';
import SyncButton from './SyncButton';
import { selectTaskStatus } from './SyncButtonSelectors';

// map state to props
const mapStateToProps = state => ({
  status: selectTaskStatus(state),
});

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

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
foreman_rh_cloud-5.0.39 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.38 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.37 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
foreman_rh_cloud-5.0.36 webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js