UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.58 kB
"use client";var w=Object.create;var n=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,g=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))g.call(r,t)&&f(o,t,r[t]);return o};var h=(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 S(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=C(r,e))||s.enumerable});return o};var x=(o,r,t)=>(t=o!=null?w(a(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),G=o=>l(n({},"__esModule",{value:!0}),o);var k={};h(k,{default:()=>v});module.exports=G(k);var m=x(require("react")),d=require("react"),u=require("../IconoirContext.js");const L=(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:"M10.6125 10.1109L18.3906 2.33275C22.6864 6.62852 22.6864 13.5933 18.3906 17.8891C14.0949 22.1849 7.13004 22.1849 2.83428 17.8891L10.6125 10.1109ZM10.6125 10.1109L10.2589 18.2427M10.6125 10.1109H18.3906M10.6125 10.1109L15.9158 15.4142",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,d.forwardRef)(L);var v=V;