iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.82 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var C=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&C(o,t,r[t]);if(m)for(var t of m(r))L.call(r,t)&&C(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of k(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=h(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(w(o)):{},d(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(n({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>V});module.exports=g(v);var s=S(require("react")),f=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(l.IconoirContext),i=p(p({},t),o);return s.createElement("svg",p({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),s.createElement("path",{d:"M2.49999 3.50011L7 7.99977M7 7.99977L6.99999 4.00011M7 7.99977L3.00009 7.99988",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M15 16L11.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M14.5 9C10.3579 9 7 12.2832 7 16.3333C7 17.4668 7.26298 18.5401 7.73253 19.4983C7.88808 19.8157 8.22018 20 8.57365 20H20.4264C20.7798 20 21.1119 19.8157 21.2675 19.4983C21.737 18.5401 22 17.4668 22 16.3333C22 12.2832 18.6421 9 14.5 9Z",stroke:"currentColor"}))},G=(0,f.forwardRef)(x);var V=G;