iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.05 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var u=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))c.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&u(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of a(r))!c.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=L(r,n))||p.enumerable});return o};var V=(o,r,e)=>(e=o!=null?m(f(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>k(s({},"__esModule",{value:!0}),o);var G={};w(G,{default:()=>x});module.exports=M(G);var t=V(require("react")),C=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=t.useContext(l.IconoirContext),p=i(i({},e),o);return t.createElement("svg",i({width:"1.5em",strokeWidth:1.5,height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},p),t.createElement("path",{d:"M5 19.5V5C5 3.89543 5.89543 3 7 3H18.4C18.7314 3 19 3.26863 19 3.6V21",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M9 7L15 7",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6.5 15L19 15",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6.5 18L19 18",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6.5 21L19 21",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6.5 18C5.5 18 5 17.3284 5 16.5C5 15.6716 5.5 15 6.5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6.5 21C5.5 21 5 20.3284 5 19.5C5 18.6716 5.5 18 6.5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,C.forwardRef)(S);var x=g;