iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.65 kB
JavaScript
"use client";var d=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,V=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var l=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,m=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&l(o,t,r[t]);if(V)for(var t of V(r))H.call(r,t)&&l(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},C=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of u(r))!f.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=h(r,n))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},C(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>C(s({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>k});module.exports=x(v);var e=g(require("react")),i=require("react"),c=require("../IconoirContext.js");const G=(o,r)=>{const t=e.useContext(c.IconoirContext),p=m(m({},t),o);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:r},p),e.createElement("path",{d:"M21 3.6V12H12V3H20.4C20.7314 3 21 3.26863 21 3.6Z",stroke:"currentColor"}),e.createElement("path",{d:"M21 20.4V12H12V21H20.4C20.7314 21 21 20.7314 21 20.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M3 12V3.6C3 3.26863 3.26863 3 3.6 3H12V12H3Z",stroke:"currentColor"}),e.createElement("path",{d:"M3 12V20.4C3 20.7314 3.26863 21 3.6 21H12V12H3Z",stroke:"currentColor"}))},a=(0,i.forwardRef)(G);var k=a;