UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.78 kB
"use client";var f=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,V=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var l=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))m.call(r,t)&&l(o,t,r[t]);if(d)for(var t of d(r))w.call(r,t)&&l(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},u=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!m.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=h(r,n))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?f(V(o)):{},u(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>u(s({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>L});module.exports=g(v);var e=S(require("react")),C=require("react"),c=require("../IconoirContext.js");const x=(o,r)=>{const t=e.useContext(c.IconoirContext),p=i(i({},t),o);return e.createElement("svg",i({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},p),e.createElement("path",{d:"M22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20C21.1046 3 22 3.89543 22 5Z",stroke:"currentColor"}),e.createElement("path",{d:"M2 12H6",stroke:"currentColor"}),e.createElement("path",{d:"M6 3V21",stroke:"currentColor"}),e.createElement("path",{d:"M15.5 11.5L12 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17 10.01L17.01 9.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,C.forwardRef)(x);var L=G;