UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.72 kB
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=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={}))c.call(r,e)&&L(o,e,r[e]);if(m)for(var e of m(r))h.call(r,e)&&L(o,e,r[e]);return o};var k=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of C(r))!c.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(a(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};k(v,{default:()=>V});module.exports=g(v);var p=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const x=(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:"M3 21L12 21H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M12.2218 5.82839L15.0503 2.99996L20 7.94971L17.1716 10.7781M12.2218 5.82839L6.61522 11.435C6.42769 11.6225 6.32233 11.8769 6.32233 12.1421L6.32233 16.6776L10.8579 16.6776C11.1231 16.6776 11.3774 16.5723 11.565 16.3847L17.1716 10.7781M12.2218 5.82839L17.1716 10.7781",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var V=G;