iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.45 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,m=(o,r)=>{for(var t in r||(r={}))C.call(r,t)&&f(o,t,r[t]);if(p)for(var t of p(r))h.call(r,t)&&f(o,t,r[t]);return o};var x=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of S(r))!C.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=u(r,e))||s.enumerable});return o};var G=(o,r,t)=>(t=o!=null?d(g(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>c(n({},"__esModule",{value:!0}),o);var R={};x(R,{default:()=>k});module.exports=V(R);var i=G(require("react")),l=require("react"),w=require("../IconoirContext.js");const a=(o,r)=>{const t=i.useContext(w.IconoirContext),s=m(m({},t),o);return i.createElement("svg",m({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),i.createElement("path",{d:"M12 4C6 4 6 8 6 10C4.33333 10 1 11 1 15C1 19 4.33333 20 6 20H18C19.6667 20 23 19 23 15C23 11 19.6667 10 18 10C18 8 18 4 12 4Z",stroke:"currentColor",strokeLinejoin:"round"}))},v=(0,l.forwardRef)(a);var k=v;