iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.8 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,w=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,p=(o,r)=>{for(var t in r||(r={}))u.call(r,t)&&m(o,t,r[t]);if(d)for(var t of d(r))w.call(r,t)&&m(o,t,r[t]);return o};var H=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},V=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!u.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(i=c(r,n))||i.enumerable});return o};var M=(o,r,t)=>(t=o!=null?C(h(o)):{},V(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>V(s({},"__esModule",{value:!0}),o);var G={};H(G,{default:()=>x});module.exports=S(G);var e=M(require("react")),l=require("react"),f=require("../IconoirContext.js");const a=(o,r)=>{const t=e.useContext(f.IconoirContext),i=p(p({},t),o);return e.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),e.createElement("path",{d:"M12 8L12 16M12 8H8M12 8H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M21 13.5V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V13.5M21 10.5V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V10.5",stroke:"currentColor",strokeLinejoin:"round"}),e.createElement("path",{d:"M19.5 13.5V10.5H22.5V13.5H19.5Z",stroke:"currentColor",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.5 13.5V10.5H4.5V13.5H1.5Z",stroke:"currentColor",strokeLinejoin:"round"}))},g=(0,l.forwardRef)(a);var x=g;