Files
NapCatQQ/.pnpm-store/v3/files/7b/d55ba19592f37fdbe4b18d0bf44928ac2943f6548e6059315f38db67408271d123e54f6f1c92c7d1b1a5439d1701fc47fc32a31a0b90e6fd9f8465a3057d15
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

26 lines
871 B
Plaintext

"use client";
import {
useCardContext
} from "./chunk-XHGGCEVJ.mjs";
// src/card-body.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 CardBody = forwardRef((props, ref) => {
var _a;
const { as, className, children, ...otherProps } = props;
const Component = as || "div";
const domRef = useDOMRef(ref);
const { slots, classNames } = useCardContext();
const bodyStyles = clsx(classNames == null ? void 0 : classNames.body, className);
return /* @__PURE__ */ jsx(Component, { ref: domRef, className: (_a = slots.body) == null ? void 0 : _a.call(slots, { class: bodyStyles }), ...otherProps, children });
});
CardBody.displayName = "HeroUI.CardBody";
var card_body_default = CardBody;
export {
card_body_default
};