iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.08 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,f=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={}))k.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))f.call(r,e)&&u(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of V(r))!k.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=L(r,n))||p.enumerable});return o};var w=(o,r,e)=>(e=o!=null?m(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>c(s({},"__esModule",{value:!0}),o);var G={};h(G,{default:()=>x});module.exports=M(G);var t=w(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",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),t.createElement("path",{d:"M22 5L20 9L18 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16 5H14V9L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M14 7H15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 9V19C6 20.1046 6.89543 21 8 21H17C18.1046 21 19 20.1046 19 19V14",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M9 5.6V7C9 8.10457 8.10457 9 7 9H5C3.89543 9 3 8.10457 3 7V5.6C3 5.26863 3.26863 5 3.6 5H8.4C8.73137 5 9 5.26863 9 5.6Z",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M4 5V3",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M8 5V3",stroke:"currentColor",strokeLinecap:"round"}))},g=(0,C.forwardRef)(S);var x=g;