UNPKG

welcome-ui

Version:

Customizable design system with react, typescript, tailwindcss and ariakit.

31 lines (30 loc) 880 B
"use client"; import { jsx as i } from "react/jsx-runtime"; import { forwardRef as m } from "react"; import { c as t } from "./index-PAaZGbyz.js"; const g = "_root_8gp32_2", x = { root: g, "size-xs": "_size-xs_8gp32_7", "size-sm": "_size-sm_8gp32_10", "size-md": "_size-md_8gp32_13", "size-lg": "_size-lg_8gp32_16", "size-xl": "_size-xl_8gp32_19", "size-xxl": "_size-xxl_8gp32_22" }, z = t(x), p = m( ({ "aria-label": s, className: o, content: e, size: r = "md", ..._ }, l) => e ? /* @__PURE__ */ i( "svg", { "aria-hidden": s ? "false" : "true", "aria-label": s, className: z("root", `size-${r}`, o), ref: l, role: s ? "img" : void 0, viewBox: e.viewBox || "0 0 100 100", ..._, children: /* @__PURE__ */ i("g", { dangerouslySetInnerHTML: { __html: e.block || "" } }) } ) : null ); export { p as I };