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

//# sourceMappingURL=ModalOverlay.cjs.map