UNPKG

@solar-icons/react

Version:
66 lines (65 loc) 1.6 kB
var v = Object.defineProperty, S = Object.defineProperties; var u = Object.getOwnPropertyDescriptors; var s = Object.getOwnPropertySymbols; var n = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable; var a = (e, r, t) => r in e ? v(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, h = (e, r) => { for (var t in r || (r = {})) n.call(r, t) && a(e, t, r[t]); if (s) for (var t of s(r)) d.call(r, t) && a(e, t, r[t]); return e; }, m = (e, r) => S(e, u(r)); var w = (e, r) => { var t = {}; for (var o in e) n.call(e, o) && r.indexOf(o) < 0 && (t[o] = e[o]); if (e != null && s) for (var o of s(e)) r.indexOf(o) < 0 && d.call(e, o) && (t[o] = e[o]); return t; }; import { jsxs as B, jsx as R } from "react/jsx-runtime"; import { forwardRef as j } from "react"; const y = j((e, r) => { const l = e, { alt: t, color: o = "currentColor", size: i = "1em", weight: c = "Linear", mirrored: f = !1, children: g, weights: p } = l, x = w(l, [ "alt", "color", "size", "weight", "mirrored", "children", "weights" ]); return /* @__PURE__ */ B( "svg", m(h({ ref: r, xmlns: "http://www.w3.org/2000/svg", width: i, height: i, color: o, fill: "none", viewBox: "0 0 24 24", transform: f ? "scale(-1, 1)" : void 0 }, x), { children: [ !!t && /* @__PURE__ */ R("title", { children: t }), g, p.get(c) ] }) ); }); y.displayName = "SSRBase"; export { y as default };