@clubmed/trident-ui
Version:
Shared ClubMed React UI components
32 lines (31 loc) • 656 B
JavaScript
import { jsx as a } from "react/jsx-runtime";
import { c as m } from "../chunks/clsx.js";
import { getTheme as c } from "./Chip.themes.js";
const f = ({
className: e,
color: r = "sienna",
size: o = "size-32",
theme: s = "solid",
children: t,
...i
}) => {
const { thRoot: n } = c(s, { color: r });
return /* @__PURE__ */ a(
"span",
{
...i,
className: m(
"inline-flex aspect-square shrink-0 items-center justify-center overflow-hidden rounded-full border",
o,
n,
e
),
"data-name": "Chip",
children: t
}
);
};
export {
f as Chip
};
//# sourceMappingURL=Chip.js.map