"use strict";

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

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");

_Object$defineProperty(exports, "__esModule", {
  value: true
});

exports.default = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));

var _react = _interopRequireDefault(require("react"));

var _Button = _interopRequireDefault(require("@material-ui/core/Button"));

var _reactIntl = require("react-intl");

var messages = (0, _reactIntl.defineMessages)({
  // Button text to turn off filters for a field
  showAll: {
    "id": "NBKC/Q==",
    "defaultMessage": 'All'
  }
});

var ShowAllButton = function ShowAllButton(props) {
  return /*#__PURE__*/_react.default.createElement(_Button.default, (0, _extends2.default)({
    color: "primary",
    size: "small"
  }, props), /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, messages.showAll));
};

var _default = ShowAllButton;
exports.default = _default;
//# sourceMappingURL=ShowAllButton.js.map