"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = SearchButtonBar;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _SearchButton = _interopRequireDefault(require("./SearchButton"));
var _SearchClearButton = _interopRequireDefault(require("./SearchClearButton"));
var _ButtonBar = _interopRequireDefault(require("../../../styles/cspace-ui/ButtonBar.css"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// import SearchSaveButton from './SearchSaveButton';

const propTypes = {
  onClearButtonClick: _propTypes.default.func
};
const defaultProps = {
  onClearButtonClick: undefined
};
function SearchButtonBar(props) {
  const {
    onClearButtonClick
  } = props;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: _ButtonBar.default.common
  }, /*#__PURE__*/_react.default.createElement(_SearchButton.default, null), /*#__PURE__*/_react.default.createElement(_SearchClearButton.default, {
    onClick: onClearButtonClick
  }));
}
SearchButtonBar.propTypes = propTypes;
SearchButtonBar.defaultProps = defaultProps;