import c from "../../../../../@ant-design/icons/es/icons/SearchOutlined.mjs";
import * as e from "react";
import i from "../../../input/index.mjs";
function h(l) {
  let {
    value: t,
    onChange: a,
    filterSearch: n,
    tablePrefixCls: r,
    locale: o
  } = l;
  return n ? /* @__PURE__ */ e.createElement("div", {
    className: `${r}-filter-dropdown-search`
  }, /* @__PURE__ */ e.createElement(i, {
    prefix: /* @__PURE__ */ e.createElement(c, null),
    placeholder: o.filterSearchPlaceholder,
    onChange: a,
    value: t,
    // for skip min-width of input
    htmlSize: 1,
    className: `${r}-filter-dropdown-search-input`
  })) : null;
}
export {
  h as default
};
