Sha256: d4d419f35b18f78163eff34152310d4b6aa2aad3acb874db5e79c8c67b18d81d

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

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

import './ApplicationDefinition.scss';
import ApplicationDefinition from './ApplicationDefinition';
import * as ApplicationDefinitionActions from './ApplicationDefinitionActions';

import {
  selectEditMode,
  selectServices,
  selectColumns,
  selectParametersData,
} from './ApplicationDefinitionSelectors';

const mapStateToProps = state => ({
  editMode: selectEditMode(state),
  services: selectServices(state),
  columns: selectColumns(state),
  parametersData: selectParametersData(state),
});

const mapDispatchToProps = dispatch =>
  bindActionCreators(ApplicationDefinitionActions, dispatch);

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(ApplicationDefinition);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_acd-0.2.1 webpack/components/ApplicationDefinition/index.js