'use strict';

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

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

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

var _cspaceInput = require('cspace-input');

var _SearchSaveButton = require('../../../styles/cspace-ui/SearchSaveButton.css');

var _SearchSaveButton2 = _interopRequireDefault(_SearchSaveButton);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const Button = _cspaceInput.components.Button;


const messages = (0, _reactIntl.defineMessages)({
  label: {
    'id': 'searchSaveButton.label',
    'defaultMessage': 'Save'
  }
});

function SearchSaveButton() {
  return _react2.default.createElement(
    Button,
    {
      className: _SearchSaveButton2.default.normal,
      icon: true,
      name: 'save'
    },
    _react2.default.createElement(_reactIntl.FormattedMessage, messages.label)
  );
}