iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.67 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&c(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!d.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=V(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?C(k(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var L={};a(L,{default:()=>v});module.exports=g(L);var s=S(require("react")),l=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),i=p(p({},t),o);return s.createElement("svg",p({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},i),s.createElement("path",{d:"M12 7V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M12 17.01L12.01 16.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4Z",stroke:"currentColor"}))},G=(0,l.forwardRef)(x);var v=G;