iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.77 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=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={}))d.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&c(o,t,r[t]);return o};var V=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!d.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=L(r,e))||i.enumerable});return o};var a=(o,r,t)=>(t=o!=null?C(k(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>f(n({},"__esModule",{value:!0}),o);var v={};V(v,{default:()=>G});module.exports=S(v);var s=a(require("react")),l=require("react"),u=require("../IconoirContext.js");const g=(o,r)=>{const t=s.useContext(u.IconoirContext),i=p(p({},t),o);return s.createElement("svg",p({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),s.createElement("path",{d:"M3.2 14.2222V4C3.2 2.89543 4.09543 2 5.2 2H18.8C19.9046 2 20.8 2.89543 20.8 4V14.2222M3.2 14.2222H20.8M3.2 14.2222L1.71969 19.4556C1.35863 20.7321 2.31762 22 3.64418 22H20.3558C21.6824 22 22.6414 20.7321 22.2803 19.4556L20.8 14.2222",stroke:"currentColor"}),s.createElement("path",{d:"M11.6667 5L10 8H14L12.3333 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M11 19L13 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;