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