iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.65 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:"M7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M17 17H7C4.23858 17 2 14.7614 2 12C2 9.23858 4.23858 7 7 7H17C19.7614 7 22 9.23858 22 12C22 14.7614 19.7614 17 17 17Z",stroke:"currentColor"}))},k=(0,c.forwardRef)(V);var v=k;