iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.96 kB
JavaScript
"use client";var f=Object.create;var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=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,p=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&m(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&m(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},L=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!u.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=l(r,t))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?f(a(o)):{},L(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>L(n({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>V});module.exports=g(v);var s=S(require("react")),c=require("react"),C=require("../IconoirContext.js");const x=(o,r)=>{const e=s.useContext(C.IconoirContext),i=p(p({},e),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:"M13.8476 13.317L9.50515 18.2798C8.70833 19.1905 7.29167 19.1905 6.49485 18.2798L2.15238 13.317C1.49259 12.563 1.49259 11.437 2.15238 10.683L6.49485 5.72018C7.29167 4.80952 8.70833 4.80952 9.50515 5.72017L13.8476 10.683C14.5074 11.437 14.5074 12.563 13.8476 13.317Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M13 19L17.8844 13.3016C18.5263 12.5526 18.5263 11.4474 17.8844 10.6984L13 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M17 19L21.8844 13.3016C22.5263 12.5526 22.5263 11.4474 21.8844 10.6984L17 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,c.forwardRef)(x);var V=G;