"use client";
const require_use_props = require("../../core/MantineProvider/use-props/use-props.cjs");
const require_factory = require("../../core/factory/factory.cjs");
const require_ModalBaseTitle = require("../ModalBase/ModalBaseTitle.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/ModalTitle.tsx
const ModalTitle = require_factory.factory((_props) => {
	const { classNames, className, style, styles, vars, ...others } = require_use_props.useProps("ModalTitle", null, _props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ModalBaseTitle.ModalBaseTitle, {
		...require_Modal_context.useModalContext().getStyles("title", {
			classNames,
			style,
			styles,
			className
		}),
		...others
	});
});
ModalTitle.classes = require_Modal_module.default;
ModalTitle.displayName = "@mantine/core/ModalTitle";
//#endregion
exports.ModalTitle = ModalTitle;

//# sourceMappingURL=ModalTitle.cjs.map