iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.88 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var l=(o,r,e)=>r in o?s(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)&&l(o,e,r[e]);if(L)for(var e of L(r))h.call(r,e)&&l(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of C(r))!u.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=k(r,n))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?m(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>c(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>V});module.exports=g(v);var t=S(require("react")),d=require("react"),f=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(f.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),t.createElement("path",{d:"M9.5 14.5L3 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.00014 9.48521L14.1925 18.6776L15.8896 16.9805L15.788 15.9999L7.6761 7.88953L6.6972 7.78815L5.00014 9.48521Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.1567 2.67188L21.0064 8.52156L16.6991 12.1754L11.4847 7.00046L15.1567 2.67188Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var V=G;