iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.98 kB
JavaScript
"use client";var f=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,C=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&c(o,t,r[t]);if(i)for(var t of i(r))h.call(r,t)&&c(o,t,r[t]);return o};var w=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},m=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of V(r))!d.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=k(r,n))||p.enumerable});return o};var L=(o,r,t)=>(t=o!=null?f(a(o)):{},m(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>m(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>G});module.exports=S(v);var e=L(require("react")),u=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const t=e.useContext(l.IconoirContext),p=C(C({},t),o);return e.createElement("svg",C({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:"M8.5 4H6C4.89543 4 4 4.89543 4 6V20C4 21.1046 4.89543 22 6 22H12",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M15.5 4H18C19.1046 4 20 4.89543 20 6V15",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M8 6.4V4.5C8 4.22386 8.22386 4 8.5 4C8.77614 4 9.00422 3.77604 9.05152 3.50398C9.19968 2.65171 9.77399 1 12 1C14.226 1 14.8003 2.65171 14.9485 3.50398C14.9958 3.77604 15.2239 4 15.5 4C15.7761 4 16 4.22386 16 4.5V6.4C16 6.73137 15.7314 7 15.4 7H8.6C8.26863 7 8 6.73137 8 6.4Z",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M15.5 20.5L17.5 22.5L22.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,u.forwardRef)(g);var G=x;