iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.36 kB
JavaScript
"use client";var a=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,C=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,d=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&p(o,e,r[e]);if(u)for(var e of u(r))M.call(r,e)&&p(o,e,r[e]);return o};var f=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of m(r))!L.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=h(r,t))||i.enumerable});return o};var j=(o,r,e)=>(e=o!=null?a(C(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>k(s({},"__esModule",{value:!0}),o);var x={};f(x,{default:()=>g});module.exports=w(x);var n=j(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=n.useContext(l.IconoirContext),i=d(d({},e),o);return n.createElement("svg",d({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},i),n.createElement("path",{d:"M2 20L22 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5 4L19 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3 16.01L3.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21.0098 16.01L20.9998 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M4 12.01L4.01 11.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20.0098 12.01L19.9998 11.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5 8.01L5.01 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.0098 8.01L18.9998 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 7V17M12 7L10.5 8.5M12 7L13.5 8.5M12 17L9 14M12 17L15 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,c.forwardRef)(S);var g=V;