"use client";
import "react";
import { AriaCombobox } from "./AriaCombobox.js";
import { jsx } from "react/jsx-runtime";
function ComboboxRoot(props) {
  const {
    multiple = false,
    defaultValue,
    value,
    onValueChange,
    ...other
  } = props;
  return /* @__PURE__ */ jsx(AriaCombobox, {
    ...other,
    selectionMode: multiple ? "multiple" : "single",
    selectedValue: value,
    defaultSelectedValue: defaultValue,
    onSelectedValueChange: onValueChange
  });
}
export {
  ComboboxRoot
};
//# sourceMappingURL=ComboboxRoot.js.map
