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