import { j as jsxRuntimeExports } from "../../../../../_virtual/jsx-runtime.js";
import { tx as D } from "../../../../style-system/dist/twind.js";
function IconRender({ manifest, className }) {
  const icon = typeof manifest.icon === "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
    "span",
    {
      className: D(
        className,
        "w-7 h-7 text-upstart-600 dark:text-upstart-400 [&>svg]:w-auto [&>svg]:h-7 inline-block"
      ),
      dangerouslySetInnerHTML: { __html: manifest.icon }
    }
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
    manifest.icon,
    {
      className: D(
        className,
        "w-6 h-6 text-upstart-600/90 group-hovertext-upstart-700",
        manifest.iconClassName
      )
    }
  );
  return icon;
}
export {
  IconRender
};
//# sourceMappingURL=IconRender.js.map
