iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.58 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))h.call(r,t)&&c(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=k(r,e))||s.enumerable});return o};var g=(o,r,t)=>(t=o!=null?C(a(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(n({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=x(L);var p=g(require("react")),d=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const t=p.useContext(u.IconoirContext),s=i(i({},t),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 19C17.866 19 21 15.866 21 12C21 8.13401 17.866 5 14 5C10.134 5 7 8.13401 7 12C7 15.866 10.134 19 14 19Z",stroke:"currentColor",strokeMiterlimit:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M3 19L3 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,d.forwardRef)(G);var v=V;