UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.67 kB
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,S=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,i=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&C(o,t,r[t]);if(m)for(var t of m(r))S.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})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=V(r,e))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?u(w(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>l(n({},"__esModule",{value:!0}),o);var H={};a(H,{default:()=>v});module.exports=k(H);var s=g(require("react")),c=require("react"),d=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(d.IconoirContext),p=i(i({},t),o);return s.createElement("svg",i({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},p),s.createElement("path",{d:"M5 19V3H19V19C19 20.1046 18.1046 21 17 21H7C5.89543 21 5 20.1046 5 19Z",stroke:"currentColor"}),s.createElement("path",{d:"M5 6H3.5C2.67157 6 2 5.32843 2 4.5V4.5C2 3.67157 2.67157 3 3.5 3H20.5C21.3284 3 22 3.67157 22 4.5V4.5C22 5.32843 21.3284 6 20.5 6H19",stroke:"currentColor"}),s.createElement("path",{d:"M15 3L15 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,c.forwardRef)(x);var v=G;