import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import PopoverContent from "../popover/popoverContent.js";
import { useSelectContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/select/selectContent.tsx
/** Extends PopoverContent to display given content is an overlaying box. */
const SelectContent = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Select", useSelectContext());
	return /* @__PURE__ */ jsx(PopoverContent, {
		className: cs("vui-selectContent", className),
		column: true,
		py: 1,
		ref,
		...styles.content,
		...rest
	});
});
SelectContent.displayName = "SelectContent";

//#endregion
export { SelectContent as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=selectContent.js.map