UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.77 kB
"use client";var f=Object.create;var s=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var C=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&C(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&C(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!d.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=V(r,n))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?f(k(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>l(s({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>L});module.exports=g(v);var e=S(require("react")),u=require("react"),c=require("../IconoirContext.js");const x=(o,r)=>{const t=e.useContext(c.IconoirContext),p=i(i({},t),o);return e.createElement("svg",i({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 5V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M5 19V9C5 7.89543 5.89543 7 7 7H16C17.1046 7 18 7.89543 18 9V19C18 20.1046 17.1046 21 16 21H7C5.89543 21 5 20.1046 5 19Z",stroke:"currentColor"}),e.createElement("path",{d:"M5 10V5C5 3.89543 5.89543 3 7 3H16C17.1046 3 18 3.89543 18 5V10",stroke:"currentColor"}),e.createElement("path",{d:"M11.1667 11L9.5 14H13.5L11.8333 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,u.forwardRef)(x);var L=G;