Sha256: 16dfe01413c6f548ea7f5009e9923ba75aeb148ebbacec6056960a3a43cf3f9e

Contents?: true

Size: 836 Bytes

Versions: 44

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

44 entries across 44 versions & 1 rubygems

Version Path
foreman_rh_cloud-7.0.47 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.50 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.49 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.48 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.47 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-8.0.46 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.45 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.46 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.45 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-7.0.46 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.44 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-7.0.45 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.44 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.43 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.42.2 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.42.1 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.43 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.42 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-6.0.42 webpack/InsightsCloudSync/index.js
foreman_rh_cloud-5.0.41 webpack/InsightsCloudSync/index.js