iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.85 kB
JavaScript
"use client";var c=Object.create;var i=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var k=(o,r,e)=>r in o?i(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,d=(o,r)=>{for(var e in r||(r={}))p.call(r,e)&&k(o,e,r[e]);if(u)for(var e of u(r))M.call(r,e)&&k(o,e,r[e]);return o};var f=(o,r)=>{for(var e in r)i(o,e,{get:r[e],enumerable:!0})},C=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of a(r))!p.call(o,n)&&n!==e&&i(o,n,{get:()=>r[n],enumerable:!(s=m(r,n))||s.enumerable});return o};var j=(o,r,e)=>(e=o!=null?c(h(o)):{},C(r||!o||!o.__esModule?i(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>C(i({},"__esModule",{value:!0}),o);var x={};f(x,{default:()=>g});module.exports=w(x);var t=j(require("react")),L=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=t.useContext(l.IconoirContext),s=d(d({},e),o);return t.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},s),t.createElement("path",{d:"M13.463 17H10.537C10.2313 17 9.97446 16.7701 9.9407 16.4663L9.07403 8.66626C9.03454 8.31084 9.31275 8 9.67036 8L14.3296 8C14.6872 8 14.9655 8.31084 14.926 8.66626L14.0593 16.4663C14.0255 16.7701 13.7687 17 13.463 17Z",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M4.5 7C5.88071 7 7 5.88071 7 4.5C7 3.11929 5.88071 2 4.5 2C3.11929 2 2 3.11929 2 4.5C2 5.88071 3.11929 7 4.5 7Z",stroke:"currentColor",strokeMiterlimit:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M4.5 4.5L9 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M4.49988 19.5L9.5 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M19.5 4.5L15 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M14.5 15.5L15.75 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M4.5 22C5.88071 22 7 20.8807 7 19.5C7 18.1193 5.88071 17 4.5 17C3.11929 17 2 18.1193 2 19.5C2 20.8807 3.11929 22 4.5 22Z",stroke:"currentColor",strokeMiterlimit:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M19.5 7C20.8807 7 22 5.88071 22 4.5C22 3.11929 20.8807 2 19.5 2C18.1193 2 17 3.11929 17 4.5C17 5.88071 18.1193 7 19.5 7Z",stroke:"currentColor",strokeMiterlimit:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M19.5 22V16M19.5 16L17 18.5M19.5 16L22 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},V=(0,L.forwardRef)(S);var g=V;