UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.94 kB
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var i=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&i(o,t,r[t]);if(m)for(var t of m(r))a.call(r,t)&&i(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(C=u(r,e))||C.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>f(n({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>H});module.exports=k(v);var s=g(require("react")),l=require("react"),V=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(V.IconoirContext),C=p(p({},t),o);return s.createElement("svg",p({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},C),s.createElement("path",{d:"M3 20.2895V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V15C21 16.1046 20.1046 17 19 17H7.96125C7.35368 17 6.77906 17.2762 6.39951 17.7506L4.06852 20.6643C3.71421 21.1072 3 20.8567 3 20.2895Z",stroke:"currentColor"}),s.createElement("path",{d:"M10.5 10H8.5C7.94772 10 7.5 9.55228 7.5 9V8C7.5 7.44772 7.94772 7 8.5 7H9.5C10.0523 7 10.5 7.44772 10.5 8V10ZM10.5 10C10.5 11 9.5 12 8.5 13",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M16.5 10H14.5C13.9477 10 13.5 9.55228 13.5 9V8C13.5 7.44772 13.9477 7 14.5 7H15.5C16.0523 7 16.5 7.44772 16.5 8V10ZM16.5 10C16.5 11 15.5 12 14.5 13",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,l.forwardRef)(x);var H=G;