UNPKG

@clubmed/trident-icons

Version:

Shared ClubMed Icons library

36 lines (35 loc) 891 B
import { jsx as n } from "react/jsx-runtime"; import { c as d } from "../chunks/index.js"; import { Suspense as h } from "react"; import { useIconOrientation as x } from "../hooks/useIconOrientation.js"; function b(e) { const { name: o, className: i, width: t = "16px", color: s = "inherit", style: r, element: a, aspectRatio: c, viewBox: l } = e, { intrinsicClassName: m, transform: p } = x(e), f = `text-${s}`; return /* @__PURE__ */ n( "span", { className: d( "inline-block shrink-0 align-middle", m, f, i ), style: { width: t, transform: p, aspectRatio: c, ...r }, role: "presentation", "aria-label": `Icon ${o}`, children: /* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(a, { viewBox: l }) }) } ); } export { b as SvgIcon }; //# sourceMappingURL=SvgIcon.js.map