iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.92 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var u=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&u(o,e,r[e]);return o};var w=(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 n of C(r))!L.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=f(r,n))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?l(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>c(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>V});module.exports=g(v);var t=S(require("react")),m=require("react"),k=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(k.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({width:"1.5em",height:"1.5em",strokeWidth:1.5,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),t.createElement("path",{d:"M15 7C16.1046 7 17 6.10457 17 5C17 3.89543 16.1046 3 15 3C13.8954 3 13 3.89543 13 5C13 6.10457 13.8954 7 15 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.6133 8.26691L9.30505 12.4021L13.4403 16.5374L11.3727 21.0861",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6.4104 9.5075L9.79728 6.19931L12.6132 8.26692L15.508 11.5752H19.2297",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.89152 15.7103L7.65095 16.5374H4.34277",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,m.forwardRef)(x);var V=G;