iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.88 kB
JavaScript
"use client";var u=Object.create;var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var h=(r,o,t)=>o in r?s(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,i=(r,o)=>{for(var t in o||(o={}))m.call(o,t)&&h(r,t,o[t]);if(f)for(var t of f(o))g.call(o,t)&&h(r,t,o[t]);return r};var a=(r,o)=>{for(var t in o)s(r,t,{get:o[t],enumerable:!0})},c=(r,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of x(o))!m.call(r,n)&&n!==t&&s(r,n,{get:()=>o[n],enumerable:!(l=d(o,n))||l.enumerable});return r};var k=(r,o,t)=>(t=r!=null?u(w(r)):{},c(o||!r||!r.__esModule?s(t,"default",{value:r,enumerable:!0}):t,r)),S=r=>c(s({},"__esModule",{value:!0}),r);var y={};a(y,{default:()=>v});module.exports=S(y);var e=k(require("react")),p=require("react"),C=require("../IconoirContext.js");const V=(r,o)=>{const t=e.useContext(C.IconoirContext),l=i(i({},t),r);return e.createElement("svg",i({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:o},l),e.createElement("rect",{x:2,y:21,width:7,height:5,rx:.6,transform:"rotate(-90 2 21)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("rect",{x:17,y:15.5,width:7,height:5,rx:.6,transform:"rotate(-90 17 15.5)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("rect",{x:2,y:10,width:7,height:5,rx:.6,transform:"rotate(-90 2 10)",fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),e.createElement("path",{d:"M7 17.5H10.5C11.6046 17.5 12.5 16.6046 12.5 15.5V8.5C12.5 7.39543 11.6046 6.5 10.5 6.5H7",stroke:"currentColor"}),e.createElement("path",{d:"M12.5 12H17",stroke:"currentColor"}))},G=(0,p.forwardRef)(V);var v=G;