UNPKG

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
"use client";var C=Object.create;var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,m=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,f=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))f.call(r,e)&&p(o,e,r[e]);return o};var j=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},L=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of h(r))!k.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=a(r,t))||i.enumerable});return o};var M=(o,r,e)=>(e=o!=null?C(m(o)):{},L(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>L(s({},"__esModule",{value:!0}),o);var G={};j(G,{default:()=>x});module.exports=w(G);var n=M(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(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:"M2 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20 12H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3 20.01L3.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M6 16.01L6.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M9 20.01L9.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15 20.01L15.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18 16.01L18.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21 20.01L21.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.3962 3.39622L15.5 6.49999C17.433 8.43299 17.433 11.567 15.5 13.5C13.567 15.433 10.433 15.433 8.50001 13.5C6.56701 11.567 6.56701 8.43299 8.50001 6.49999L11.6038 3.39621C11.8226 3.17738 12.1774 3.17738 12.3962 3.39622Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var x=g;