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
JavaScript
"use client";var l=Object.create;var n=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,M=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var m=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&m(o,e,r[e]);if(d)for(var e of d(r))k.call(r,e)&&m(o,e,r[e]);return o};var a=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},V=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of H(r))!u.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=C(r,t))||i.enumerable});return o};var h=(o,r,e)=>(e=o!=null?l(M(o)):{},V(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>V(n({},"__esModule",{value:!0}),o);var x={};a(x,{default:()=>g});module.exports=w(x);var s=h(require("react")),c=require("react"),f=require("../IconoirContext.js");const L=(o,r)=>{const e=s.useContext(f.IconoirContext),i=p(p({},e),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},i),s.createElement("path",{d:"M14 13H16L18 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M6 13H8M10 13H8M8 13V11M8 13V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M6 7H2.6C2.26863 7 2 7.26863 2 7.6V18.4C2 18.7314 2.26863 19 2.6 19H21.4C21.7314 19 22 18.7314 22 18.4V7.6C22 7.26863 21.7314 7 21.4 7H18M6 7V5H8V7M6 7H8M8 7H16M16 7V5H18V7M16 7H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,c.forwardRef)(L);var g=S;