iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.72 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:"M2 18V6C2 4.34315 3.34315 3 5 3H7C8.65685 3 10 4.34315 10 6V18C10 19.6569 8.65685 21 7 21H5C3.34315 21 2 19.6569 2 18Z",stroke:"currentColor"}),s.createElement("path",{d:"M16 3H18C20.2091 3 22 4.79086 22 7V17C22 19.2091 20.2091 21 18 21H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M10 12H18M18 12L15 9M18 12L15 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,f.forwardRef)(x);var L=G;