{"size": 476, "ext": "js", "max_stars_repo_path": "src/public/js/containers/AcceptInputBtn.js", "max_stars_repo_name": "Klakier/englishtable", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/public/js/containers/AcceptInputBtn.js", "max_issues_repo_name": "Klakier/englishtable", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/public/js/containers/AcceptInputBtn.js", "max_forks_repo_name": "Klakier/englishtable", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.8333333333, "max_line_length": 52, "alphanum_fraction": 0.6638655462}
import { connect } from 'react-redux';
import Btn from '../components/AcceptButton';
import { inputAccepted } from './../actions';

const mapStateToProps = (state, ownProps) => {
  return {
    content: 'Accept TableInput'
  };
};

const mapDispatchToProps = (dispatch, ownProps) => {
  return {
    onClick: () => {
      dispatch(inputAccepted());
    }
  };
};

const AcceptInputBtn = connect(
  mapStateToProps,
  mapDispatchToProps
)(Btn);

export default AcceptInputBtn;