"use client";
const require_use_props = require("../../../core/MantineProvider/use-props/use-props.cjs");
const require_factory = require("../../../core/factory/factory.cjs");
const require_Box = require("../../../core/Box/Box.cjs");
const require_Combobox_module = require("../Combobox.module.cjs");
const require_Combobox_context = require("../Combobox.context.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/Combobox/ComboboxHeader/ComboboxHeader.tsx
const ComboboxHeader = require_factory.factory((props) => {
	const { classNames, className, style, styles, vars, ...others } = require_use_props.useProps("ComboboxHeader", null, props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
		...require_Combobox_context.useComboboxContext().getStyles("header", {
			className,
			classNames,
			style,
			styles
		}),
		...others,
		onMouseDown: (event) => {
			event.preventDefault();
		}
	});
});
ComboboxHeader.classes = require_Combobox_module.default;
ComboboxHeader.displayName = "@mantine/core/ComboboxHeader";
//#endregion
exports.ComboboxHeader = ComboboxHeader;

//# sourceMappingURL=ComboboxHeader.cjs.map