"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.mapDispatchToProps = void 0;

var _redux = require("redux");

var _reactRedux = require("../../../../common/react-redux");

var _alerts = require("../../../../common/actions/alerts");

var _presenter = _interopRequireDefault(require("./presenter"));

var mapDispatchToProps = function mapDispatchToProps(dispatch) {
  return {
    screenreaderNotification: (0, _redux.bindActionCreators)(_alerts.screenreaderNotification, dispatch)
  };
};

exports.mapDispatchToProps = mapDispatchToProps;

var _default = (0, _reactRedux.connect)(null, mapDispatchToProps)(_presenter.default);

exports.default = _default;