iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.64 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,S=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,i=(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 g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!m.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=w(r,e))||s.enumerable});return o};var x=(o,r,t)=>(t=o!=null?d(S(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),G=o=>f(n({},"__esModule",{value:!0}),o);var E={};g(E,{default:()=>v});module.exports=G(E);var p=x(require("react")),c=require("react"),u=require("../IconoirContext.js");const V=(o,r)=>{const t=p.useContext(u.IconoirContext),s=i(i({},t),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:"M20 10C20 14.4183 12 22 12 22C12 22 4 14.4183 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10Z",stroke:"currentColor"}),p.createElement("path",{d:"M12 11C12.5523 11 13 10.5523 13 10C13 9.44772 12.5523 9 12 9C11.4477 9 11 9.44772 11 10C11 10.5523 11.4477 11 12 11Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},k=(0,c.forwardRef)(V);var v=k;