"use client";
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
const require_use_props = require("../../core/MantineProvider/use-props/use-props.cjs");
const require_polymorphic_factory = require("../../core/factory/polymorphic-factory.cjs");
const require_Text = require("../Text/Text.cjs");
const require_Anchor_module = require("./Anchor.module.cjs");
let clsx = require("clsx");
clsx = require_runtime.__toESM(clsx);
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/Anchor/Anchor.tsx
const defaultProps = { underline: "hover" };
const Anchor = require_polymorphic_factory.polymorphicFactory((props) => {
	const { underline, className, unstyled, mod, ...others } = require_use_props.useProps("Anchor", defaultProps, props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
		component: "a",
		className: (0, clsx.default)({ [require_Anchor_module.default.root]: !unstyled }, className),
		...others,
		mod: [{ underline }, mod],
		__staticSelector: "Anchor",
		unstyled
	});
});
Anchor.classes = require_Anchor_module.default;
Anchor.displayName = "@mantine/core/Anchor";
//#endregion
exports.Anchor = Anchor;

//# sourceMappingURL=Anchor.cjs.map