import { createElement } from "react";
import cn from "classnames";
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__ */ createElement("div", {
    className: cn("selectField-search", isHidden && "is-hidden"),
    "data-value": innerProps.value
  }, /* @__PURE__ */ createElement("input", {
    type: "text",
    className: "selectField-search-input",
    ref: innerRef,
    disabled: isDisabled,
    ...innerProps
  }));
};
export { SearchInput, cleanCommonProps };
//# sourceMappingURL=SearchInput.js.map
