"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_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/DrawerCloseButton.tsx
const DrawerCloseButton = require_factory.factory((_props) => {
	const { classNames, className, style, styles, vars, ...others } = require_use_props.useProps("DrawerCloseButton", null, _props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ModalBaseCloseButton.ModalBaseCloseButton, {
		...require_Drawer_context.useDrawerContext().getStyles("close", {
			classNames,
			style,
			styles,
			className
		}),
		...others
	});
});
DrawerCloseButton.classes = require_Drawer_module.default;
DrawerCloseButton.displayName = "@mantine/core/DrawerCloseButton";
//#endregion
exports.DrawerCloseButton = DrawerCloseButton;

//# sourceMappingURL=DrawerCloseButton.cjs.map