iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.59 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,x=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var p=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,c=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&p(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&p(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of u(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=h(r,e))||s.enumerable});return o};var G=(o,r,t)=>(t=o!=null?d(x(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>l(n({},"__esModule",{value:!0}),o);var y={};g(y,{default:()=>k});module.exports=V(y);var m=G(require("react")),C=require("react"),w=require("../IconoirContext.js");const v=(o,r)=>{const t=m.useContext(w.IconoirContext),s=c(c({},t),o);return m.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},s),m.createElement("circle",{cx:12,cy:12,r:8,stroke:"currentColor",strokeWidth:1.5}),m.createElement("path",{d:"M19.812 12.9893C21.6252 14.5004 22.5667 15.8535 22.1738 16.6414C21.4428 18.1075 16.3687 17.0617 10.8406 14.3054C5.31236 11.5492 1.42346 8.12624 2.15445 6.6601C2.54636 5.87405 4.18666 5.81005 6.47602 6.34458",stroke:"currentColor"}))},a=(0,C.forwardRef)(v);var k=a;