@clubmed/trident-ui
Version:
Shared ClubMed React UI components
23 lines (22 loc) • 863 B
JavaScript
import { jsxs as r, jsx as e } from "react/jsx-runtime";
import { Card as n } from "../../ui/cards/Card.js";
import { Icon as d } from "@clubmed/trident-icons";
import { Chip as l } from "../../ui/Chip.js";
const h = ({
title: a,
children: s,
icon: i,
iconType: t,
theme: o = "light",
dataName: m = "Card"
}) => /* @__PURE__ */ r(n, { "data-name": m, className: "p-20 flex shrink-0 flex-row gap-20", children: [
/* @__PURE__ */ e(l, { theme: o, size: "size-48", children: /* @__PURE__ */ e(d, { name: i, type: t, width: "24px" }) }),
/* @__PURE__ */ r("div", { className: "space-y-8 font-sans flex-1", children: [
/* @__PURE__ */ e("div", { className: "text-b3 font-semibold", children: a }),
/* @__PURE__ */ e("div", { className: "text-b4 font-normal", children: s })
] })
] });
export {
h as Card
};
//# sourceMappingURL=Card.js.map