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

26 lines
893 B
Plaintext

"use client";
import {
useCardContext
} from "./chunk-XHGGCEVJ.mjs";
// src/card-footer.tsx
import { forwardRef } from "@heroui/system";
import { useDOMRef } from "@heroui/react-utils";
import { clsx } from "@heroui/shared-utils";
import { jsx } from "react/jsx-runtime";
var CardFooter = forwardRef((props, ref) => {
var _a;
const { as, className, children, ...otherProps } = props;
const Component = as || "div";
const domRef = useDOMRef(ref);
const { slots, classNames } = useCardContext();
const footerStyles = clsx(classNames == null ? void 0 : classNames.footer, className);
return /* @__PURE__ */ jsx(Component, { ref: domRef, className: (_a = slots.footer) == null ? void 0 : _a.call(slots, { class: footerStyles }), ...otherProps, children });
});
CardFooter.displayName = "HeroUI.CardFooter";
var card_footer_default = CardFooter;
export {
card_footer_default
};