UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.79 kB
"use client";var f=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,C=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&u(o,t,r[t]);if(d)for(var t of d(r))w.call(r,t)&&u(o,t,r[t]);return o};var x=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},m=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!c.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(i=h(r,n))||i.enumerable});return o};var M=(o,r,t)=>(t=o!=null?f(C(o)):{},m(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),a=o=>m(s({},"__esModule",{value:!0}),o);var L={};x(L,{default:()=>G});module.exports=a(L);var e=M(require("react")),l=require("react"),V=require("../IconoirContext.js");const g=(o,r)=>{const t=e.useContext(V.IconoirContext),i=p(p({},t),o);return e.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),e.createElement("path",{d:"M16.9922 19H19.9922M22.9922 19H19.9922M19.9922 19V16M19.9922 19V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:5,y:2,width:6,height:12,rx:3,stroke:"currentColor",strokeWidth:1.5}),e.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"}),e.createElement("path",{d:"M8 18V22M8 22H5M8 22H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,l.forwardRef)(g);var G=S;