iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.76 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var l=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))m.call(r,e)&&l(o,e,r[e]);if(C)for(var e of C(r))k.call(r,e)&&l(o,e,r[e]);return o};var S=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!m.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var g=(o,r,e)=>(e=o!=null?d(h(o)):{},c(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),x=o=>c(n({},"__esModule",{value:!0}),o);var L={};S(L,{default:()=>v});module.exports=x(L);var p=g(require("react")),f=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const e=p.useContext(u.IconoirContext),s=i(i({},e),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:"M15.5 9C15.7761 9 16 8.77614 16 8.5C16 8.22386 15.7761 8 15.5 8C15.2239 8 15 8.22386 15 8.5C15 8.77614 15.2239 9 15.5 9Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M21.5422 15C21.8396 14.053 22 13.0452 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C16.4776 22 20.2679 19.0571 21.5422 15ZM21.5422 15H17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,f.forwardRef)(G);var v=V;