UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.6 kB
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,M=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,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&f(o,t,r[t]);if(m)for(var t of m(r))M.call(r,t)&&f(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 L(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=w(r,e))||s.enumerable});return o};var a=(o,r,t)=>(t=o!=null?u(h(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>l(n({},"__esModule",{value:!0}),o);var k={};S(k,{default:()=>V});module.exports=g(k);var i=a(require("react")),C=require("react"),d=require("../IconoirContext.js");const x=(o,r)=>{const t=i.useContext(d.IconoirContext),s=p(p({},t),o);return i.createElement("svg",p({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),i.createElement("path",{d:"M20 14C20 9.58172 12 2 12 2C12 2 4 9.58172 4 14C4 18.4183 7.58172 22 12 22C16.4183 22 20 18.4183 20 14Z",stroke:"currentColor"}),i.createElement("path",{d:"M12 10L12 13.5M12 17L12 13.5M12 13.5L9 11.75M12 13.5L15 15.25M12 13.5L15 11.75M12 13.5L9 15.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,C.forwardRef)(x);var V=G;