UNPKG

@anoki/fse-ui

Version:

FSE UI components library

46 lines (45 loc) 1.38 kB
import { j as e } from "./index.es237.js"; import { clsx as r } from "./index.es239.js"; import './components/ui/CardService/CardService.css';/* empty css */ import { Ellipse3 as x } from "./index.es193.js"; import { Ellipse2 as p } from "./index.es192.js"; import { Ellipse as d } from "./index.es191.js"; const b = ({ title: s, href: i, titleTag: t = "h2", asLink: c = "a", className: n, iconType: o = "icon1" }) => { const l = (m) => { switch (m) { case "icon1": return /* @__PURE__ */ e.jsx(d, {}); case "icon2": return /* @__PURE__ */ e.jsx(p, {}); case "icon3": return /* @__PURE__ */ e.jsx(x, {}); default: return null; } }, a = c; return /* @__PURE__ */ e.jsx(a, { className: " text-decoration-none", href: i, children: /* @__PURE__ */ e.jsxs( "div", { className: r( n, "ui-service-card", "bg-primary br-x4 py-x24 pl-x24 w-full shadow " ), children: [ /* @__PURE__ */ e.jsx(t, { className: "flex-1 h-full base-row align-items-center fs-5 md-fs-4 text-white fw-semibold ", children: s }), /* @__PURE__ */ e.jsx("div", { className: r("ui-service-card-icon"), children: /* @__PURE__ */ e.jsx("span", { children: l(o) }) }) ] } ) }); }; export { b as CardService }; //# sourceMappingURL=index.es55.js.map