iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.83 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var l=(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={}))m.call(r,t)&&l(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&l(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!m.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(C=V(r,e))||C.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>f(n({},"__esModule",{value:!0}),o);var L={};a(L,{default:()=>v});module.exports=k(L);var s=g(require("react")),c=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),C=p(p({},t),o);return s.createElement("svg",p({width:"1.5em",strokeWidth:1.5,height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},C),s.createElement("path",{d:"M19 20H5C3.89543 20 3 19.1046 3 18V9C3 7.89543 3.89543 7 5 7H19C20.1046 7 21 7.89543 21 9V18C21 19.1046 20.1046 20 19 20Z",stroke:"currentColor"}),s.createElement("path",{d:"M16.5 14C16.2239 14 16 13.7761 16 13.5C16 13.2239 16.2239 13 16.5 13C16.7761 13 17 13.2239 17 13.5C17 13.7761 16.7761 14 16.5 14Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18 7V5.60322C18 4.28916 16.7544 3.33217 15.4847 3.67075L4.48467 6.60409C3.60917 6.83756 3 7.63046 3 8.53656V9",stroke:"currentColor"}))},G=(0,c.forwardRef)(x);var v=G;