UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.54 kB
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var c=(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={}))f.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))h.call(r,t)&&c(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=V(r,e))||s.enumerable});return o};var g=(o,r,t)=>(t=o!=null?C(a(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>l(n({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=k(L);var i=g(require("react")),d=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=i.useContext(u.IconoirContext),s=p(p({},t),o);return i.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},s),i.createElement("path",{d:"M21 3L15 3M21 3L12 12M21 3V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M21 13V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H11",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,d.forwardRef)(x);var v=G;