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

//# sourceMappingURL=ModalCloseButton.cjs.map