"use client";
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
const require_Box = require("../../core/Box/Box.cjs");
const require_ModalBase_context = require("./ModalBase.context.cjs");
const require_ModalBase_module = require("./ModalBase.module.cjs");
let clsx = require("clsx");
clsx = require_runtime.__toESM(clsx);
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/ModalBase/ModalBaseHeader.tsx
function ModalBaseHeader({ className, ...others }) {
	const ctx = require_ModalBase_context.useModalBaseContext();
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
		component: "header",
		className: (0, clsx.default)({ [require_ModalBase_module.default.header]: !ctx.unstyled }, className),
		...others
	});
}
ModalBaseHeader.displayName = "@mantine/core/ModalBaseHeader";
//#endregion
exports.ModalBaseHeader = ModalBaseHeader;

//# sourceMappingURL=ModalBaseHeader.cjs.map