UNPKG

@konstructio/ui

Version:

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

22 lines (21 loc) 702 B
import { t as a } from "../../utils-COaoD3PI.js"; import { Card as d } from "../Card/Card.js"; import { Radio as l } from "../Radio/Radio.js"; import { radioCardVariants as e } from "./RadioCard.variants.js"; import { jsx as o } from "react/jsx-runtime"; var f = ({ wrapperClassName: r, theme: i, labelWrapperClassName: t, checked: m, description: s, ...p }) => /* @__PURE__ */ o(d, { "data-theme": i, className: a(e({ className: r })), wrapperClassName: a("w-max", r), isActive: m, children: /* @__PURE__ */ o(l, { wrapperClassName: a("w-full h-full p-3 gap-3", t), checked: m, description: s, ...p }) }); f.displayName = "KonstructRadioCard"; export { f as RadioCard };