UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 2.01 kB
"use client";var m=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=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 w=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of L(r))!k.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=f(r,n))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?m(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>c(s({},"__esModule",{value:!0}),o);var j={};w(j,{default:()=>V});module.exports=g(j);var t=S(require("react")),C=require("react"),l=require("../IconoirContext.js");const x=(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:"M9 18H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M10 21H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16.4999 11.5C17.4997 10.5 17.9765 9.48689 17.9999 8C18.0479 4.95029 16 3 11.9999 3C10.8324 3 9.83119 3.16613 8.99988 3.47724",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.99985 15C9 13 8.5 12.5 7.49985 11.5C6.4997 10.5 6.02324 9.48689 5.99985 8C5.99142 7.46458 6.0476 6.96304 6.1676 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,C.forwardRef)(x);var V=G;