iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.81 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var C=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))c.call(r,e)&&C(o,e,r[e]);if(m)for(var e of m(r))h.call(r,e)&&C(o,e,r[e]);return o};var k=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of w(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=V(r,t))||s.enumerable});return o};var S=(o,r,e)=>(e=o!=null?u(a(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};k(v,{default:()=>L});module.exports=g(v);var p=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const e=p.useContext(l.IconoirContext),s=i(i({},e),o);return p.createElement("svg",i({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},s),p.createElement("path",{d:"M22 9V7C22 5.89543 21.1046 5 20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H12M22 9H6M22 9V11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M18.9923 14.125L21.5477 14.774C21.8137 14.8416 22.0013 15.0833 21.9931 15.3576C21.8214 21.1159 18.5 22 18.5 22C18.5 22 15.1786 21.1159 15.0069 15.3576C14.9987 15.0833 15.1863 14.8416 15.4523 14.774L18.0077 14.125C18.3308 14.043 18.6692 14.043 18.9923 14.125Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var L=G;