UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

26 lines (25 loc) 642 B
import { t as m } from "../../utils-COaoD3PI.js"; import { cardBaseVariants as f, cardVariants as p } from "./Card.variants.js"; import { forwardRef as c } from "react"; import { jsx as s } from "react/jsx-runtime"; var l = c(({ className: d, theme: o, isActive: a, canHover: r, wrapperClassName: t, ...e }, i) => /* @__PURE__ */ s("div", { "data-theme": o, className: m(f({ canHover: r, className: t, isActive: a })), children: /* @__PURE__ */ s("div", { ref: i, className: m(p({ className: d, isActive: a, canHover: r })), ...e }) })); l.displayName = "Card"; export { l as Card };