iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.78 kB
JavaScript
"use client";var f=Object.create;var s=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var m=(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)&&m(o,t,r[t]);if(C)for(var t of C(r))w.call(r,t)&&m(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:()=>H});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:"M7 19V11C7 9.89543 7.89543 9 9 9H20C21.1046 9 22 9.89543 22 11V19C22 20.1046 21.1046 21 20 21H9C7.89543 21 7 20.1046 7 19Z",stroke:"currentColor"}),e.createElement("path",{d:"M6.5 16H4C2.89543 16 2 15.1046 2 14V6C2 4.89543 2.89543 4 4 4H15C16.1046 4 17 4.89543 17 6V9",stroke:"currentColor"}),e.createElement("path",{d:"M10 12H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M5 7H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,u.forwardRef)(x);var H=G;