iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.71 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,c=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={}))c.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 a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=V(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(k(o)):{},d(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(n({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>L});module.exports=g(v);var s=S(require("react")),f=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(l.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:"M22 18V6C22 4.34315 20.6569 3 19 3H17C15.3431 3 14 4.34315 14 6V18C14 19.6569 15.3431 21 17 21H19C20.6569 21 22 19.6569 22 18Z",stroke:"currentColor"}),s.createElement("path",{d:"M8 3H6C3.79086 3 2 4.79086 2 7V17C2 19.2091 3.79086 21 6 21H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M14 12H6M6 12L9 9M6 12L9 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,f.forwardRef)(x);var L=G;