UNPKG

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
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,C=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&m(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=u(r,e))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>l(n({},"__esModule",{value:!0}),o);var H={};a(H,{default:()=>v});module.exports=k(H);var s=g(require("react")),c=require("react"),V=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(V.IconoirContext),p=C(C({},t),o);return s.createElement("svg",C({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},p),s.createElement("path",{d:"M23 10V14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M1 16V8C1 6.89543 1.89543 6 3 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H3C1.89543 18 1 17.1046 1 16Z",stroke:"currentColor"}),s.createElement("path",{d:"M4 14.4V9.6C4 9.26863 4.26863 9 4.6 9H6.4C6.73137 9 7 9.26863 7 9.6V14.4C7 14.7314 6.73137 15 6.4 15H4.6C4.26863 15 4 14.7314 4 14.4Z",stroke:"currentColor"}))},G=(0,c.forwardRef)(x);var v=G;