"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_Drawer_context = require("./Drawer.context.cjs");
const require_Drawer_module = require("./Drawer.module.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/Drawer/DrawerOverlay.tsx
const DrawerOverlay = require_factory.factory((_props) => {
	const { classNames, className, style, styles, vars, ...others } = require_use_props.useProps("DrawerOverlay", null, _props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ModalBaseOverlay.ModalBaseOverlay, {
		...require_Drawer_context.useDrawerContext().getStyles("overlay", {
			classNames,
			style,
			styles,
			className
		}),
		...others
	});
});
DrawerOverlay.classes = require_Drawer_module.default;
DrawerOverlay.displayName = "@mantine/core/DrawerOverlay";
//#endregion
exports.DrawerOverlay = DrawerOverlay;

//# sourceMappingURL=DrawerOverlay.cjs.map