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
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var l=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))m.call(r,t)&&l(o,t,r[t]);if(C)for(var t of C(r))a.call(r,t)&&l(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of k(r))!m.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=h(r,e))||i.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>c(n({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=x(L);var s=g(require("react")),f=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const t=s.useContext(u.IconoirContext),i=p(p({},t),o);return s.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),s.createElement("path",{d:"M16 9.2C16 13.1765 9 20 9 20C9 20 2 13.1765 2 9.2C2 5.22355 5.13401 2 9 2C12.866 2 16 5.22355 16 9.2Z",stroke:"currentColor"}),s.createElement("path",{d:"M16 19L22 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9 10C9.55228 10 10 9.55228 10 9C10 8.44772 9.55228 8 9 8C8.44772 8 8 8.44772 8 9C8 9.55228 8.44772 10 9 10Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,f.forwardRef)(G);var v=V;