"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.FiltersPanelSearch = void 0;
var _designSystem = require("@wix/design-system");
var _react = _interopRequireDefault(require("react"));
var _mobxReactLite = require("mobx-react-lite");
var _react2 = require("@wix/bex-core/react");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/FiltersPanel/FiltersPanelSearch.tsx";
function _FiltersPanelSearch({
  state
}) {
  const {
    translate: t
  } = (0, _react2.useWixPatternsContainer)();
  return /*#__PURE__*/_react.default.createElement(_designSystem.Search, {
    dataHook: "filters-panel-search",
    size: "small",
    value: state.searchValue,
    onChange: e => state.setSearchValue(e.target.value),
    onClear: () => state.clearSearch(),
    placeholder: t('cairo.filtersPanel.search.placeholder'),
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 5
    }
  });
}
const FiltersPanelSearch = exports.FiltersPanelSearch = (0, _mobxReactLite.observer)(_FiltersPanelSearch);
//# sourceMappingURL=FiltersPanelSearch.js.map