iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.66 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=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={}))f.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 S=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},C=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!f.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var g=(o,r,e)=>(e=o!=null?u(h(o)):{},C(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),x=o=>C(n({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=x(L);var p=g(require("react")),d=require("react"),l=require("../IconoirContext.js");const G=(o,r)=>{const e=p.useContext(l.IconoirContext),s=i(i({},e),o);return p.createElement("svg",i({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},s),p.createElement("path",{d:"M12 20.5C15.866 20.5 19 17.366 19 13.5C19 9.63401 15.866 6.5 12 6.5C8.13401 6.5 5 9.63401 5 13.5C5 17.366 8.13401 20.5 12 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M4 7.28995C5.49623 5.03879 8.51707 3.5 12 3.5C15.4829 3.5 18.5038 5.03879 20 7.28995",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,d.forwardRef)(G);var v=V;