iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.83 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,a=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={}))u.call(r,t)&&m(o,t,r[t]);if(d)for(var t of d(r))a.call(r,t)&&m(o,t,r[t]);return o};var w=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of L(r))!u.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=k(r,n))||p.enumerable});return o};var V=(o,r,t)=>(t=o!=null?C(h(o)):{},c(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>c(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>G});module.exports=S(v);var e=V(require("react")),l=require("react"),f=require("../IconoirContext.js");const g=(o,r)=>{const t=e.useContext(f.IconoirContext),p=i(i({},t),o);return e.createElement("svg",i({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},p),e.createElement("path",{d:"M10 3.99996L14 3.99997V6.56773C14 6.82599 14.1709 7.05522 14.4125 7.14658C22.9367 10.3708 20.9066 22 15 22L9.00001 22C3.09346 22 1.06328 10.3708 9.58754 7.14658C9.8291 7.05521 10 6.82598 10 6.56772V3.99996Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 10L18 10",stroke:"currentColor"}),e.createElement("path",{d:"M9 2H15",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M11.6667 13L10 16H14L12.3333 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;