iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.89 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))l.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))k.call(r,t)&&c(o,t,r[t]);return o};var w=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=L(r,n))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?C(a(o)):{},d(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>V});module.exports=g(v);var e=S(require("react")),f=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=e.useContext(u.IconoirContext),p=i(i({},t),o);return e.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},p),e.createElement("path",{d:"M2.90602 17.505L5.33709 3.71766C5.5289 2.62987 6.56621 1.90354 7.654 2.09534L19.4717 4.17912C20.5595 4.37093 21.2858 5.40824 21.094 6.49603L18.6629 20.2833C18.4711 21.3711 17.4338 22.0975 16.346 21.9057L4.52834 19.8219C3.44055 19.6301 2.71421 18.5928 2.90602 17.505Z",stroke:"currentColor"}),e.createElement("path",{d:"M8.92902 6.38184L16.8075 7.77102",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M8.23444 10.3213L16.1129 11.7105",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M7.53986 14.2607L12.4639 15.129",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,f.forwardRef)(x);var V=G;