UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.74 kB
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var C=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))c.call(r,e)&&C(o,e,r[e]);if(m)for(var e of m(r))k.call(r,e)&&C(o,e,r[e]);return o};var L=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var S=(o,r,e)=>(e=o!=null?u(h(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};L(v,{default:()=>V});module.exports=g(v);var p=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const e=p.useContext(l.IconoirContext),s=i(i({},e),o);return p.createElement("svg",i({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),p.createElement("path",{d:"M14 9L13.75 9.375M10 9C9.08779 7.78565 7.63574 7 6 7C3.23858 7 1 9.23858 1 12C1 14.7614 3.23858 17 6 17C7.63582 17 9.08816 16.2144 10.0004 15L10.3337 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M10 9L13.9996 15C14.9118 16.2144 16.3642 17 18 17C20.7614 17 23 14.7614 23 12C23 9.23858 20.7614 7 18 7C16.3642 7 14.9118 7.78555 13.9996 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var V=G;