import cn from "classnames";
import { jsx } from "react/jsx-runtime";
const cleanCommonProps = (props) => {
  const {
    className,
    clearValue,
    cx,
    getStyles,
    getValue,
    hasValue,
    isMulti,
    isRtl,
    options,
    selectOption,
    selectProps,
    setValue,
    theme,
    ...innerProps
  } = props;
  return {
    ...innerProps
  };
};
const SearchInput = (props) => {
  const {
    innerRef,
    isDisabled,
    isHidden,
    ...innerProps
  } = cleanCommonProps(props);
  return /* @__PURE__ */ jsx("div", {
    className: cn("selectField-search", isHidden && "is-hidden"),
    "data-value": innerProps.value,
    children: /* @__PURE__ */ jsx("input", {
      type: "text",
      className: "selectField-search-input",
      ref: innerRef,
      disabled: isDisabled,
      ...innerProps
    })
  });
};
export {
  SearchInput,
  cleanCommonProps
};
//# sourceMappingURL=SearchInput.js.map
