UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.7 kB
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(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={}))f.call(r,e)&&c(o,e,r[e]);if(m)for(var e of m(r))k.call(r,e)&&c(o,e,r[e]);return o};var L=(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))!f.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var S=(o,r,e)=>(e=o!=null?u(h(o)):{},C(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),V=o=>C(n({},"__esModule",{value:!0}),o);var v={};L(v,{default:()=>G});module.exports=V(v);var p=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const e=p.useContext(l.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:"M12 18L12 12M12 12V3.40992C12 2.97917 12.4404 2.68876 12.8364 2.85844L21.2803 6.47729C21.7549 6.68065 21.7681 7.34854 21.302 7.5705L12 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M12 22C15.866 22 19 20.433 19 18.5C19 16.567 15.866 15 12 15C8.13401 15 5 16.567 5 18.5C5 20.433 8.13401 22 12 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,d.forwardRef)(g);var G=x;