UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 2.08 kB
"use client";var m=Object.create;var s=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,M=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,h=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))h.call(r,e)&&u(o,e,r[e]);return o};var a=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},L=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of f(r))!k.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=C(r,n))||i.enumerable});return o};var V=(o,r,e)=>(e=o!=null?m(M(o)):{},L(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>L(s({},"__esModule",{value:!0}),o);var x={};a(x,{default:()=>g});module.exports=w(x);var t=V(require("react")),c=require("react"),l=require("../IconoirContext.js");const H=(o,r)=>{const e=t.useContext(l.IconoirContext),i=p(p({},e),o);return t.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),t.createElement("path",{d:"M1 21V3C1 1.89543 1.89543 1 3 1H21C22.1046 1 23 1.89543 23 3V21C23 22.1046 22.1046 23 21 23H3C1.89543 23 1 22.1046 1 21Z",stroke:"currentColor"}),t.createElement("path",{d:"M15 7L17 7H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15 15.5H17L19 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15 18.5H17H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5 7H7M9 7H7M7 7V5M7 7V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.58609 18.4142L7.0003 17M8.41452 15.5858L7.0003 17M7.0003 17L5.58609 15.5858M7.0003 17L8.41452 18.4142",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,c.forwardRef)(H);var g=S;