iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.59 kB
JavaScript
"use client";var a=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var m=(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={}))d.call(r,t)&&m(o,t,r[t]);if(c)for(var t of c(r))C.call(r,t)&&m(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!d.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=h(r,n))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?a(w(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(s({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>V});module.exports=x(v);var e=g(require("react")),u=require("react"),f=require("../IconoirContext.js");const G=(o,r)=>{const t=e.useContext(f.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:"M10 3L6 21",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M20.5 16H2.5",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M22 7H4",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M18 3L14 21",stroke:"currentColor",strokeLinecap:"round"}))},L=(0,u.forwardRef)(G);var V=L;