iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.22 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,f=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,p=(o,r)=>{for(var e in r||(r={}))k.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))f.call(r,e)&&u(o,e,r[e]);return o};var V=(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 t of a(r))!k.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var M=(o,r,e)=>(e=o!=null?C(h(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>c(s({},"__esModule",{value:!0}),o);var j={};V(j,{default:()=>g});module.exports=w(j);var n=M(require("react")),l=require("react"),L=require("../IconoirContext.js");const H=(o,r)=>{const e=n.useContext(L.IconoirContext),i=p(p({},e),o);return n.createElement("svg",p({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:"M4 6V3.6C4 3.26863 4.26863 3 4.6 3H19.4C19.7314 3 20 3.26863 20 3.6V6",stroke:"currentColor",strokeLinecap:"round"}),n.createElement("path",{d:"M4 18V20.4C4 20.7314 4.26863 21 4.6 21H19.4C19.7314 21 20 20.7314 20 20.4V18",stroke:"currentColor",strokeLinecap:"round"}),n.createElement("path",{d:"M12 15L12 9H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.5 15V9H20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3.5 9H5M6.5 9H5M5 9L5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 12H14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.5 12H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M9 15L9 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,l.forwardRef)(H);var g=S;