iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.09 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&p(o,e,r[e]);if(l)for(var e of l(r))a.call(r,e)&&p(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of V(r))!u.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=L(r,t))||i.enumerable});return o};var h=(o,r,e)=>(e=o!=null?d(k(o)):{},c(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>c(n({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>G});module.exports=S(v);var s=h(require("react")),f=require("react"),m=require("../IconoirContext.js");const g=(o,r)=>{const e=s.useContext(m.IconoirContext),i=C(C({},e),o);return s.createElement("svg",C({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),s.createElement("path",{d:"M4 13.5V13C4 8.02944 7.58172 4 12 4C16.4183 4 20 8.02944 20 13V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M2 17.4382V15.5614C2 14.6436 2.62459 13.8437 3.51493 13.6211L4 13.4998L5.25448 13.1862C5.63317 13.0915 6 13.3779 6 13.7683V19.2313C6 19.6217 5.63317 19.9081 5.25448 19.8134L3.51493 19.3785C2.62459 19.1559 2 18.356 2 17.4382Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M22 17.4382V15.5614C22 14.6436 21.3754 13.8437 20.4851 13.6211L20 13.4998L18.7455 13.1862C18.3668 13.0915 18 13.3779 18 13.7683V19.2313C18 19.6217 18.3668 19.9081 18.7455 19.8134L20.4851 19.3785C21.3754 19.1559 22 18.356 22 17.4382Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,f.forwardRef)(g);var G=x;