iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.71 kB
JavaScript
"use client";var c=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var m=(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={}))d.call(r,t)&&m(o,t,r[t]);if(p)for(var t of p(r))C.call(r,t)&&m(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,L)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of k(r))!d.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(L=h(r,e))||L.enumerable});return o};var a=(o,r,t)=>(t=o!=null?c(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>V});module.exports=g(v);var s=a(require("react")),l=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),L=i(i({},t),o);return s.createElement("svg",i({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},L),s.createElement("path",{d:"M3 21L13 11M18 6L15.5 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.5 2L10.4453 4.55468L13 5.5L10.4453 6.44532L9.5 9L8.55468 6.44532L6 5.5L8.55468 4.55468L9.5 2Z",stroke:"currentColor",strokeLinejoin:"round"}),s.createElement("path",{d:"M19 10L19.5402 11.4598L21 12L19.5402 12.5402L19 14L18.4598 12.5402L17 12L18.4598 11.4598L19 10Z",stroke:"currentColor",strokeLinejoin:"round"}))},G=(0,l.forwardRef)(x);var V=G;