UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 2.33 kB
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var u=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))k.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))f.call(r,e)&&u(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},C=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of V(r))!k.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var M=(o,r,e)=>(e=o!=null?l(a(o)):{},C(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>C(s({},"__esModule",{value:!0}),o);var x={};h(x,{default:()=>j});module.exports=w(x);var n=M(require("react")),c=require("react"),L=require("../IconoirContext.js");const S=(o,r)=>{const e=n.useContext(L.IconoirContext),i=p(p({},e),o);return n.createElement("svg",p({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},i),n.createElement("path",{d:"M9 21H4C2.89543 21 2 20.1046 2 19V5C2 3.89543 2.89543 3 4 3H20C21.1046 3 22 3.89543 22 5V11",stroke:"currentColor",strokeLinecap:"round"}),n.createElement("path",{d:"M12 21V16.3615C12 15.8518 12.1003 15.3624 12.2845 14.9077M22 21V17.8154M14.2222 12.7345C15.0167 12.2705 15.9721 12 17 12C19.2795 12 21.2027 13.3306 21.8046 15.15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15 22V19.8235M19 22V16.8529C19 15.8296 18.1046 15 17 15C15.8954 15 15 15.8296 15 16.8529V17.6471",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M2 7L22 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5 5.01L5.01 4.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M8 5.01L8.01 4.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11 5.01L11.01 4.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var j=g;