UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.68 kB
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,c=(o,r)=>{for(var t in r||(r={}))l.call(r,t)&&m(o,t,r[t]);if(p)for(var t of p(r))w.call(r,t)&&m(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,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!l.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=V(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(k(o)):{},C(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),a=o=>C(n({},"__esModule",{value:!0}),o);var L={};x(L,{default:()=>v});module.exports=a(L);var s=S(require("react")),f=require("react"),d=require("../IconoirContext.js");const g=(o,r)=>{const t=s.useContext(d.IconoirContext),i=c(c({},t),o);return s.createElement("svg",c({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:"M7 18V17C7 14.2386 9.23858 12 12 12V12C14.7614 12 17 14.2386 17 17V18",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M12 12C13.6569 12 15 10.6569 15 9C15 7.34315 13.6569 6 12 6C10.3431 6 9 7.34315 9 9C9 10.6569 10.3431 12 12 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("circle",{cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:1.5}))},G=(0,f.forwardRef)(g);var v=G;