iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.54 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,H=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var f=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))V.call(r,t)&&f(o,t,r[t]);if(p)for(var t of p(r))S.call(r,t)&&f(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!V.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=u(r,e))||s.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(H(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),h=o=>c(n({},"__esModule",{value:!0}),o);var k={};a(k,{default:()=>v});module.exports=h(k);var m=g(require("react")),l=require("react"),C=require("../IconoirContext.js");const x=(o,r)=>{const t=m.useContext(C.IconoirContext),s=i(i({},t),o);return m.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},s),m.createElement("path",{d:"M17 2H14C12.6739 2 11.4021 2.52678 10.4645 3.46447C9.52678 4.40215 9 5.67392 9 7V10H6V14H9V22H13V14H16L17 10H13V7C13 6.73478 13.1054 6.48043 13.2929 6.29289C13.4804 6.10536 13.7348 6 14 6H17V2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,l.forwardRef)(x);var v=G;