UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

32 lines (31 loc) 522 B
"use client"; import { jsx as i, Fragment as s } from "react/jsx-runtime"; const f = ({ iconName: n, iconSet: r, size: t, color: o, className: c, style: e, ...h }) => { if (!r || !n) return null; const l = `${r}:${n}`; return /* @__PURE__ */ i(s, { children: /* @__PURE__ */ i( "iconify-icon", { icon: l, width: t, height: t, color: o, class: c, style: e, ...h } ) }); }; export { f as RenderIcon }; //# sourceMappingURL=render-icon.js.map