UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.87 kB
"use client";var a=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,C=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var u=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,d=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&u(o,t,r[t]);if(i)for(var t of i(r))L.call(r,t)&&u(o,t,r[t]);return o};var V=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},k=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!c.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=f(r,n))||p.enumerable});return o};var w=(o,r,t)=>(t=o!=null?a(C(o)):{},k(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),M=o=>k(s({},"__esModule",{value:!0}),o);var G={};V(G,{default:()=>x});module.exports=M(G);var e=w(require("react")),l=require("react"),m=require("../IconoirContext.js");const S=(o,r)=>{const t=e.useContext(m.IconoirContext),p=d(d({},t),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},p),e.createElement("path",{d:"M3 21L3 3L9 3V15L21 15V21H3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M13 19V21",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M9 19V21",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M3 7H5",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M3 11H5",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M3 15H5",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M17 19V21",stroke:"currentColor",strokeLinecap:"round"}))},g=(0,l.forwardRef)(S);var x=g;