import _extends from "@babel/runtime-corejs3/helpers/extends";
import React from 'react';
import Button from '@material-ui/core/Button';
import { defineMessages, FormattedMessage } from 'react-intl';
const messages = defineMessages({
  // Button text to only show a particular field value in a filter
  only: {
    "id": "np2qmQ==",
    "defaultMessage": 'Only'
  }
});

const OnlyButton = props => /*#__PURE__*/React.createElement(Button, _extends({
  color: "primary",
  size: "small"
}, props), /*#__PURE__*/React.createElement(FormattedMessage, messages.only));

export default OnlyButton;
//# sourceMappingURL=OnlyButton.js.map