UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.47 kB
"use client";var w=Object.create;var n=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,d=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var s=(r,o,t)=>o in r?n(r,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[o]=t,f=(r,o)=>{for(var t in o||(o={}))c.call(o,t)&&s(r,t,o[t]);if(m)for(var t of m(o))C.call(o,t)&&s(r,t,o[t]);return r};var S=(r,o)=>{for(var t in o)n(r,t,{get:o[t],enumerable:!0})},h=(r,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of u(o))!c.call(r,e)&&e!==t&&n(r,e,{get:()=>o[e],enumerable:!(l=g(o,e))||l.enumerable});return r};var G=(r,o,t)=>(t=r!=null?w(d(r)):{},h(o||!r||!r.__esModule?n(t,"default",{value:r,enumerable:!0}):t,r)),V=r=>h(n({},"__esModule",{value:!0}),r);var E={};S(E,{default:()=>a});module.exports=V(E);var i=G(require("react")),p=require("react"),x=require("../IconoirContext.js");const v=(r,o)=>{const t=i.useContext(x.IconoirContext),l=f(f({},t),r);return i.createElement("svg",f({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),i.createElement("rect",{x:16,y:3,width:5,height:18,rx:2,fill:"currentColor"}),i.createElement("rect",{x:9.5,y:9,width:5,height:12,rx:2,fill:"currentColor"}),i.createElement("rect",{x:3,y:16,width:5,height:5,rx:2,fill:"currentColor"}))},y=(0,p.forwardRef)(v);var a=y;