iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.76 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,m=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var k=(o,r,n)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,d=(o,r)=>{for(var n in r||(r={}))p.call(r,n)&&k(o,n,r[n]);if(u)for(var n of u(r))f.call(r,n)&&k(o,n,r[n]);return o};var j=(o,r)=>{for(var n in r)s(o,n,{get:r[n],enumerable:!0})},L=(o,r,n,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of h(r))!p.call(o,t)&&t!==n&&s(o,t,{get:()=>r[t],enumerable:!(i=a(r,t))||i.enumerable});return o};var M=(o,r,n)=>(n=o!=null?C(m(o)):{},L(r||!o||!o.__esModule?s(n,"default",{value:o,enumerable:!0}):n,o)),w=o=>L(s({},"__esModule",{value:!0}),o);var G={};j(G,{default:()=>x});module.exports=w(G);var e=M(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const n=e.useContext(l.IconoirContext),i=d(d({},n),o);return e.createElement("svg",d({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),e.createElement("path",{d:"M2 12H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17 12H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M3 20.01L3.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 16.01L6.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M9 20.01L9.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 16.01L12.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15 20.01L15.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 16.01L18.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M21 20.01L21.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M9 13C9 13 9.9 9.25882 12 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M16.1857 2.24133L16.5601 6.13059C16.8031 8.65364 14.9114 10.9001 12.3883 11.143C9.91266 11.3814 7.67 9.57185 7.43162 7.0962C7.19324 4.62055 9.00691 2.4204 11.4826 2.18203L15.6293 1.78274C15.9096 1.75575 16.1587 1.96107 16.1857 2.24133Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var x=g;