Sha256: 16dfe01413c6f548ea7f5009e9923ba75aeb148ebbacec6056960a3a43cf3f9e

Contents?: true

Size: 836 Bytes

Versions: 42

Compression:

Stored size: 836 Bytes

Contents

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

import * as actions from './InsightsCloudSyncActions';
import { fetchInsights } from './Components/InsightsTable/InsightsTableActions';
import InsightsCloudSync from './InsightsCloudSync';
import insightsCloudSyncReducers from './InsightsCloudSyncReducers';
import { selectSearch } from './Components/InsightsTable/InsightsTableSelectors';
// map state to props
const mapStateToProps = state => ({
  query: selectSearch(state),
});

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

// export reducers
export const reducers = insightsCloudSyncReducers;

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
foreman_rh_cloud-11.0.3 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.59 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-11.0.2 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-11.0.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-11.0.0 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.58 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-10.0.2 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.57 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-10.0.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.56 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.55 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.54 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.53 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.52 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.52 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-9.0.51 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.51 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-7.0.48 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-7.0.47 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.50 webpack/InsightsCloudSync/index.js