iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.99 kB
JavaScript
"use client";var d=Object.create;var s=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,H=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,p=(o,r)=>{for(var t in r||(r={}))V.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))H.call(r,t)&&m(o,t,r[t]);return o};var k=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!V.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(C=u(r,n))||C.enumerable});return o};var M=(o,r,t)=>(t=o!=null?d(w(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>l(s({},"__esModule",{value:!0}),o);var G={};k(G,{default:()=>x});module.exports=S(G);var e=M(require("react")),f=require("react"),c=require("../IconoirContext.js");const a=(o,r)=>{const t=e.useContext(c.IconoirContext),C=p(p({},t),o);return e.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},C),e.createElement("path",{d:"M13.9922 17H16.9922M19.9922 17H16.9922M16.9922 17V14M16.9922 17V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M4 9.4V4.6C4 4.26863 4.26863 4 4.6 4H9.4C9.73137 4 10 4.26863 10 4.6V9.4C10 9.73137 9.73137 10 9.4 10H4.6C4.26863 10 4 9.73137 4 9.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M4 19.4V14.6C4 14.2686 4.26863 14 4.6 14H9.4C9.73137 14 10 14.2686 10 14.6V19.4C10 19.7314 9.73137 20 9.4 20H4.6C4.26863 20 4 19.7314 4 19.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M14 9.4V4.6C14 4.26863 14.2686 4 14.6 4H19.4C19.7314 4 20 4.26863 20 4.6V9.4C20 9.73137 19.7314 10 19.4 10H14.6C14.2686 10 14 9.73137 14 9.4Z",stroke:"currentColor"}))},g=(0,f.forwardRef)(a);var x=g;