iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.86 kB
JavaScript
"use client";var u=Object.create;var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var f=(r,o,t)=>o in r?i(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,l=(r,o)=>{for(var t in o||(o={}))h.call(o,t)&&f(r,t,o[t]);if(m)for(var t of m(o))g.call(o,t)&&f(r,t,o[t]);return r};var V=(r,o)=>{for(var t in o)i(r,t,{get:o[t],enumerable:!0})},c=(r,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of x(o))!h.call(r,n)&&n!==t&&i(r,n,{get:()=>o[n],enumerable:!(s=d(o,n))||s.enumerable});return r};var a=(r,o,t)=>(t=r!=null?u(w(r)):{},c(o||!r||!r.__esModule?i(t,"default",{value:r,enumerable:!0}):t,r)),k=r=>c(i({},"__esModule",{value:!0}),r);var W={};V(W,{default:()=>v});module.exports=k(W);var e=a(require("react")),p=require("react"),C=require("../IconoirContext.js");const S=(r,o)=>{const t=e.useContext(C.IconoirContext),s=l(l({},t),r);return e.createElement("svg",l({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:o},s),e.createElement("rect",{width:7,height:5,rx:.6,transform:"matrix(1 0 0 -1 3 22)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("rect",{width:7,height:5,rx:.6,transform:"matrix(1 0 0 -1 8.5 7)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("rect",{width:7,height:5,rx:.6,transform:"matrix(1 0 0 -1 14 22)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("path",{d:"M6.5 17V13.5C6.5 12.3954 7.39543 11.5 8.5 11.5H15.5C16.6046 11.5 17.5 12.3954 17.5 13.5V17",stroke:"currentColor"}),e.createElement("path",{d:"M12 11.5V7",stroke:"currentColor"}))},G=(0,p.forwardRef)(S);var v=G;