iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.03 kB
JavaScript
"use client";var k=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var d=(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={}))u.call(r,e)&&d(o,e,r[e]);if(C)for(var e of C(r))h.call(r,e)&&d(o,e,r[e]);return o};var L=(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))!u.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=f(r,n))||p.enumerable});return o};var w=(o,r,e)=>(e=o!=null?k(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={};L(G,{default:()=>x});module.exports=M(G);var t=w(require("react")),l=require("react"),m=require("../IconoirContext.js");const S=(o,r)=>{const e=t.useContext(m.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:"M4 19V5C4 3.89543 4.89543 3 6 3H19.4C19.7314 3 20 3.26863 20 3.6V16.7143",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M14 10H14.4C14.7314 10 15 10.2686 15 10.6V13.4C15 13.7314 14.7314 14 14.4 14H9.6C9.26863 14 9 13.7314 9 13.4V10.6C9 10.2686 9.26863 10 9.6 10H10M14 10V8C14 7.33333 13.6 6 12 6C10.4 6 10 7.33333 10 8V10M14 10H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 17L20 17",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6 21L20 21",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M6 21C4.89543 21 4 20.1046 4 19C4 17.8954 4.89543 17 6 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,l.forwardRef)(S);var x=g;