UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.8 kB
"use client";var f=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&m(o,t,r[t]);if(C)for(var t of C(r))a.call(r,t)&&m(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!d.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=h(r,n))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?f(w(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(s({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>V});module.exports=x(v);var e=g(require("react")),u=require("react"),c=require("../IconoirContext.js");const G=(o,r)=>{const t=e.useContext(c.IconoirContext),p=i(i({},t),o);return e.createElement("svg",i({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},p),e.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M2 12L9 12",stroke:"currentColor"}),e.createElement("path",{d:"M15 12L22 12",stroke:"currentColor"}))},L=(0,u.forwardRef)(G);var V=L;