iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.04 kB
JavaScript
"use client";var f=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,C=(o,r)=>{for(var t in r||(r={}))l.call(r,t)&&c(o,t,r[t]);if(p)for(var t of p(r))x.call(r,t)&&c(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(i=k(r,n))||i.enumerable});return o};var a=(o,r,t)=>(t=o!=null?f(w(o)):{},d(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(s({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=g(L);var e=a(require("react")),m=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const t=e.useContext(u.IconoirContext),i=C(C({},t),o);return e.createElement("svg",C({width:"1.5em",height:"1.5em",strokeWidth:1.5,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),e.createElement("circle",{cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:1.5}),e.createElement("path",{d:"M7.63262 3.06689C8.98567 3.35733 9.99999 4.56025 9.99999 6.00007C9.99999 7.65693 8.65685 9.00007 6.99999 9.00007C5.4512 9.00007 4.17653 7.82641 4.01685 6.31997",stroke:"currentColor"}),e.createElement("path",{d:"M22 13.0505C21.3647 12.4022 20.4793 12 19.5 12C17.567 12 16 13.567 16 15.5C16 17.2632 17.3039 18.7219 19 18.9646",stroke:"currentColor"}),e.createElement("path",{d:"M14.5 8.51L14.51 8.49889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M10 17C11.1046 17 12 16.1046 12 15C12 13.8954 11.1046 13 10 13C8.89543 13 8 13.8954 8 15C8 16.1046 8.89543 17 10 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,m.forwardRef)(G);var v=V;