iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.6 kB
JavaScript
"use client";var L=Object.create;var s=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,m=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))m.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 a(r))!k.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=V(r,t))||i.enumerable});return o};var j=(o,r,e)=>(e=o!=null?L(h(o)):{},C(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>C(s({},"__esModule",{value:!0}),o);var x={};f(x,{default:()=>g});module.exports=M(x);var n=j(require("react")),c=require("react"),l=require("../IconoirContext.js");const w=(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:"M5 16V14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 21V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19 13V11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5 8V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 13V11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19 5V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7 8.6V13.4C7 13.7314 6.73137 14 6.4 14H3.6C3.26863 14 3 13.7314 3 13.4V8.6C3 8.26863 3.26863 8 3.6 8H6.4C6.73137 8 7 8.26863 7 8.6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M14 13.6V18.4C14 18.7314 13.7314 19 13.4 19H10.6C10.2686 19 10 18.7314 10 18.4V13.6C10 13.2686 10.2686 13 10.6 13H13.4C13.7314 13 14 13.2686 14 13.6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21 5.6V10.4C21 10.7314 20.7314 11 20.4 11H17.6C17.2686 11 17 10.7314 17 10.4V5.6C17 5.26863 17.2686 5 17.6 5H20.4C20.7314 5 21 5.26863 21 5.6Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,c.forwardRef)(w);var g=S;