UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.95 kB
"use client";var l=Object.create;var n=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))m.call(r,e)&&d(o,e,r[e]);if(p)for(var e of p(r))a.call(r,e)&&d(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},u=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of V(r))!m.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=k(r,t))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?l(L(o)):{},u(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>u(n({},"__esModule",{value:!0}),o);var v={};h(v,{default:()=>G});module.exports=S(v);var s=w(require("react")),c=require("react"),f=require("../IconoirContext.js");const g=(o,r)=>{const e=s.useContext(f.IconoirContext),i=C(C({},e),o);return s.createElement("svg",C({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},i),s.createElement("path",{d:"M19 3L5 3C3.89543 3 3 3.89543 3 5L3 19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M10.4 6H6.6C6.26863 6 6 6.26863 6 6.6L6 17.4C6 17.7314 6.26863 18 6.6 18H10.4C10.7314 18 11 17.7314 11 17.4V6.6C11 6.26863 10.7314 6 10.4 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M17.4 6H13.6C13.2686 6 13 6.26863 13 6.6V13.4C13 13.7314 13.2686 14 13.6 14H17.4C17.7314 14 18 13.7314 18 13.4V6.6C18 6.26863 17.7314 6 17.4 6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,c.forwardRef)(g);var G=x;