Sha256: bee36fba60f50892e562e80f3c16e419e23c17505bd09f54a4b30af008339e11

Contents?: true

Size: 722 Bytes

Versions: 114

Compression:

Stored size: 722 Bytes

Contents

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

import InsightsSettings from './InsightsSettings';
import { selectInsightsSyncEnabled } from './InsightsSettingsSelectors';
import * as actions from './InsightsSettingsActions';
import reducer from './InsightsSettingsReducer';

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

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

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

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

Version data entries

114 entries across 114 versions & 1 rubygems

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