iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.27 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var u=(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)&&u(o,e,r[e]);if(p)for(var e of p(r))h.call(r,e)&&u(o,e,r[e]);return o};var w=(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 a(r))!L.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var j=(o,r,e)=>(e=o!=null?l(f(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>k(s({},"__esModule",{value:!0}),o);var x={};w(x,{default:()=>g});module.exports=M(x);var n=j(require("react")),c=require("react"),C=require("../IconoirContext.js");const S=(o,r)=>{const e=n.useContext(C.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:"M3 5L15 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20.5 7L20.5 3L19 4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21 14L19 14L20.9047 11.0371C20.9669 10.9403 21.0021 10.8268 20.9771 10.7145C20.9193 10.4557 20.716 10 20 10C19 10 19 10.8889 19 10.8889C19 10.8889 19 10.8889 19 10.8889L19 11.1111",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.5 19L20 19C20.5523 19 21 19.4477 21 20V20C21 20.5523 20.5523 21 20 21L19 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19 17L21 17L19.5 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3 12L15 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3 19L15 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,c.forwardRef)(S);var g=V;