"use client";
const require_use_props = require("../../core/MantineProvider/use-props/use-props.cjs");
const require_factory = require("../../core/factory/factory.cjs");
const require_ModalBaseHeader = require("../ModalBase/ModalBaseHeader.cjs");
const require_Modal_context = require("./Modal.context.cjs");
const require_Modal_module = require("./Modal.module.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/Modal/ModalHeader.tsx
const ModalHeader = require_factory.factory((_props) => {
	const { classNames, className, style, styles, vars, ...others } = require_use_props.useProps("ModalHeader", null, _props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ModalBaseHeader.ModalBaseHeader, {
		...require_Modal_context.useModalContext().getStyles("header", {
			classNames,
			style,
			styles,
			className
		}),
		...others
	});
});
ModalHeader.classes = require_Modal_module.default;
ModalHeader.displayName = "@mantine/core/ModalHeader";
//#endregion
exports.ModalHeader = ModalHeader;

//# sourceMappingURL=ModalHeader.cjs.map