iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.06 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,l=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&p(o,e,r[e]);if(i)for(var e of i(r))w.call(r,e)&&p(o,e,r[e]);return o};var L=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!u.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(C=k(r,n))||C.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 v={};L(v,{default:()=>V});module.exports=g(v);var t=S(require("react")),d=require("react"),f=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(f.IconoirContext),C=l(l({},e),o);return t.createElement("svg",l({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},C),t.createElement("path",{d:"M18 22C19.6569 22 21 20.6569 21 19C21 17.3431 19.6569 16 18 16C16.3431 16 15 17.3431 15 19C15 20.6569 16.3431 22 18 22Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M18 8C19.6569 8 21 6.65685 21 5C21 3.34315 19.6569 2 18 2C16.3431 2 15 3.34315 15 5C15 6.65685 16.3431 8 18 8Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 15C7.65685 15 9 13.6569 9 12C9 10.3431 7.65685 9 6 9C4.34315 9 3 10.3431 3 12C3 13.6569 4.34315 15 6 15Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.5 6.5L8.5 10.5",stroke:"currentColor"}),t.createElement("path",{d:"M8.5 13.5L15.5 17.5",stroke:"currentColor"}))},G=(0,d.forwardRef)(x);var V=G;