UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.76 kB
"use client";var h=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,V=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,w=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={}))c.call(r,e)&&u(o,e,r[e]);if(l)for(var e of l(r))w.call(r,e)&&u(o,e,r[e]);return o};var x=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},d=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of C(r))!c.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=k(r,n))||i.enumerable});return o};var L=(o,r,e)=>(e=o!=null?h(V(o)):{},d(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),a=o=>d(s({},"__esModule",{value:!0}),o);var v={};x(v,{default:()=>G});module.exports=a(v);var t=L(require("react")),m=require("react"),f=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(f.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),t.createElement("path",{d:"M15.5 20.5L17.5 22.5L22.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("rect",{x:5,y:2,width:6,height:12,rx:3,fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),t.createElement("path",{d:"M1 10V11C1 14.866 4.13401 18 8 18V18V18C11.866 18 15 14.866 15 11V10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8 18V22M8 22H5M8 22H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,m.forwardRef)(g);var G=S;