iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.5 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,d=(o,r)=>{for(var e in r||(r={}))k.call(r,e)&&p(o,e,r[e]);if(u)for(var e of u(r))h.call(r,e)&&p(o,e,r[e]);return o};var f=(o,r)=>{for(var e in r)s(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))!k.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var j=(o,r,e)=>(e=o!=null?l(a(o)):{},C(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>C(s({},"__esModule",{value:!0}),o);var g={};f(g,{default:()=>S});module.exports=w(g);var n=j(require("react")),c=require("react"),L=require("../IconoirContext.js");const M=(o,r)=>{const e=n.useContext(L.IconoirContext),i=d(d({},e),o);return n.createElement("svg",d({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},i),n.createElement("path",{d:"M22 13V12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 14.2514 2.74446 16.3286 4 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13 2.04883C13 2.04883 16 5.99945 16 11.9994V12.9995",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11 2.04883C11 2.04883 8 5.99945 8 11.9994V12.9995",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M2.62988 15.5H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M2.62988 8.5H21.3706",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7 22V16H8C9.10457 16 10 16.8954 10 18V20C10 21.1046 9.10457 22 8 22H7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13 22L13 16L16 22V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19 22H21C21.8284 22 22.5 21.3284 22.5 20.5V20.5C22.5 19.6716 21.8284 19 21 19H20.5C19.6716 19 19 18.3284 19 17.5V17.5C19 16.6716 19.6716 16 20.5 16H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},H=(0,c.forwardRef)(M);var S=H;