iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.16 kB
JavaScript
"use client";var h=Object.create;var C=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?C(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(o,t,r[t]);if(l)for(var t of l(r))S.call(r,t)&&m(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)C(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of V(r))!f.call(o,n)&&n!==t&&C(o,n,{get:()=>r[n],enumerable:!(s=u(r,n))||s.enumerable});return o};var k=(o,r,t)=>(t=o!=null?h(w(o)):{},i(r||!o||!o.__esModule?C(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>i(C({},"__esModule",{value:!0}),o);var v={};g(v,{default:()=>a});module.exports=x(v);var e=k(require("react")),c=require("react"),d=require("../IconoirContext.js");const G=(o,r)=>{const t=e.useContext(d.IconoirContext),s=p(p({},t),o);return e.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},s),e.createElement("path",{d:"M3 9V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V9",stroke:"currentColor"}),e.createElement("path",{d:"M20.485 3H16.4933L16.9933 8C16.9933 8 17.9933 9 19.4933 9C20.5703 9 21.3036 8.48445 21.6316 8.1937C21.7623 8.07782 21.8101 7.90091 21.7814 7.72861L21.0768 3.50136C21.0286 3.21205 20.7783 3 20.485 3Z",stroke:"currentColor"}),e.createElement("path",{d:"M16.4933 3L16.9933 8C16.9933 8 15.9933 9 14.4933 9C12.9933 9 11.9933 8 11.9933 8V3H16.4933Z",stroke:"currentColor"}),e.createElement("path",{d:"M11.9933 3V8C11.9933 8 10.9933 9 9.49329 9C7.99329 9 6.99329 8 6.99329 8L7.49329 3H11.9933Z",stroke:"currentColor"}),e.createElement("path",{d:"M7.49331 3H3.50158C3.20828 3 2.95797 3.21205 2.90975 3.50136L2.2052 7.72862C2.17649 7.90091 2.22432 8.07782 2.35502 8.1937C2.68294 8.48445 3.41626 9 4.49329 9C5.99329 9 6.99331 8 6.99331 8L7.49331 3Z",stroke:"currentColor"}))},L=(0,c.forwardRef)(G);var a=L;