Files
NapCatQQ/.pnpm-store/v3/files/48/a5d9b390dd1ffa34d69d4893aa72025dae53f377c29e8f2c473362119cf33f5a5a5813aea4dea6327d0f9c054e50ad549efdc4e9794f45d642902e758768de
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

33 lines
790 B
Plaintext

"use client";
import {
useLink
} from "./chunk-3GGKNGCF.mjs";
// src/link.tsx
import { forwardRef } from "@heroui/system";
import { LinkIcon } from "@heroui/shared-icons";
import { linkAnchorClasses } from "@heroui/theme";
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
var Link = forwardRef((props, ref) => {
const {
Component,
children,
showAnchorIcon,
anchorIcon = /* @__PURE__ */ jsx(LinkIcon, { className: linkAnchorClasses }),
getLinkProps
} = useLink({
ref,
...props
});
return /* @__PURE__ */ jsx(Component, { ...getLinkProps(), children: /* @__PURE__ */ jsxs(Fragment, { children: [
children,
showAnchorIcon && anchorIcon
] }) });
});
Link.displayName = "HeroUI.Link";
var link_default = Link;
export {
link_default
};