iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.07 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,L=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={}))d.call(r,e)&&u(o,e,r[e]);if(C)for(var e of C(r))L.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})},l=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of a(r))!d.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(h(o)):{},l(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>l(s({},"__esModule",{value:!0}),o);var j={};w(j,{default:()=>V});module.exports=g(j);var t=S(require("react")),c=require("react"),k=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(k.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:"M17.5 8C17.5 8 19 9.5 19 12C19 14.5 17.5 16 17.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M20.5 5C20.5 5 23 7.5 23 12C23 16.5 20.5 19 20.5 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6.5 8C6.5 8 5 9.5 5 12C5 14.5 6.5 16 6.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3.5 5C3.5 5 1 7.5 1 12C1 16.5 3.5 19 3.5 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,c.forwardRef)(x);var V=G;