Files
NapCatQQ/.pnpm-store/v3/files/16/801c6720d2140b68d4a38ca274630149a1a4304cd0f3af2f035112d965146c39ffdae2ef6c5a242745a7afc7e499be610e50d926db3f8806a52feafcf649bd
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

35 lines
843 B
Plaintext

"use client";
import {
CardProvider
} from "./chunk-XHGGCEVJ.mjs";
import {
useCard
} from "./chunk-LYDQFOTE.mjs";
// src/card.tsx
import { forwardRef } from "@heroui/system";
import { Ripple } from "@heroui/ripple";
import { jsx, jsxs } from "react/jsx-runtime";
var Card = forwardRef((props, ref) => {
const {
children,
context,
Component,
isPressable,
disableAnimation,
disableRipple,
getCardProps,
getRippleProps
} = useCard({ ...props, ref });
return /* @__PURE__ */ jsxs(Component, { ...getCardProps(), children: [
/* @__PURE__ */ jsx(CardProvider, { value: context, children }),
isPressable && !disableAnimation && !disableRipple && /* @__PURE__ */ jsx(Ripple, { ...getRippleProps() })
] });
});
Card.displayName = "HeroUI.Card";
var card_default = Card;
export {
card_default
};