UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.97 kB
"use client";var u=Object.create;var n=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var m=(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)&&m(o,e,r[e]);if(C)for(var e of C(r))h.call(r,e)&&m(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 w(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=L(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:"M11.672 20.7858C11.8713 20.916 12.1287 20.916 12.328 20.7858L21.6116 14.7239C21.8403 14.5745 21.9393 14.2894 21.8523 14.0304L18.2848 3.40896C18.2028 3.16462 17.9738 3 17.7161 3H6.22057C5.96168 3 5.73198 3.16606 5.65082 3.4119L2.14466 14.032C2.05937 14.2904 2.15858 14.5738 2.38637 14.7225L11.672 20.7858Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M14.5 6H10L9.5 11C10.0187 10.1033 10.9882 9.5 12.0987 9.5C13.7555 9.5 15.0987 10.8431 15.0987 12.5C15.0987 13.327 14.764 14.0758 14.2228 14.6185C13.6797 15.163 12.9285 15.5 12.0987 15.5C10.9882 15.5 10.0187 14.8967 9.5 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var V=G;