UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.84 kB
"use client";var u=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var C=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&C(o,t,r[t]);if(m)for(var t of m(r))a.call(r,t)&&C(o,t,r[t]);return o};var L=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of k(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=h(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(w(o)):{},d(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>d(n({},"__esModule",{value:!0}),o);var v={};L(v,{default:()=>G});module.exports=V(v);var s=S(require("react")),f=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const t=s.useContext(l.IconoirContext),i=p(p({},t),o);return s.createElement("svg",p({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:"M2.12636 8.32361C1.92567 8.06248 1.97135 7.71868 2.21158 7.53482C5.2903 5.17827 8.55286 4 11.9993 4C15.4457 4 18.7082 5.17827 21.7869 7.53482C22.0388 7.74708 22.0676 8.09272 21.8722 8.32367L12.4174 19.4967C12.3978 19.5199 12.3763 19.5414 12.3531 19.561C12.1222 19.7564 11.7765 19.7276 11.5811 19.4967L2.12636 8.32361Z",stroke:"currentColor"}),s.createElement("path",{d:"M12 8V10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M12 14.01L12.01 13.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,f.forwardRef)(g);var G=x;