UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.36 kB
"use client";var w=Object.create;var n=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&f(o,t,r[t]);if(p)for(var t of p(r))h.call(r,t)&&f(o,t,r[t]);return o};var x=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of a(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=S(r,e))||s.enumerable});return o};var G=(o,r,t)=>(t=o!=null?w(g(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>l(n({},"__esModule",{value:!0}),o);var L={};x(L,{default:()=>k});module.exports=V(L);var m=G(require("react")),d=require("react"),u=require("../IconoirContext.js");const v=(o,r)=>{const t=m.useContext(u.IconoirContext),s=i(i({},t),o);return m.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),m.createElement("path",{d:"M3 20L21 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},C=(0,d.forwardRef)(v);var k=C;