iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.97 kB
JavaScript
"use client";var L=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,M=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var d=(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={}))C.call(r,e)&&d(o,e,r[e]);if(u)for(var e of u(r))a.call(r,e)&&d(o,e,r[e]);return o};var h=(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 n of k(r))!C.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=f(r,n))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?L(M(o)):{},l(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>l(s({},"__esModule",{value:!0}),o);var V={};h(V,{default:()=>G});module.exports=S(V);var t=w(require("react")),c=require("react"),m=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(m.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:"M12 5C12.5523 5 13 4.55228 13 4C13 3.44772 12.5523 3 12 3C11.4477 3 11 3.44772 11 4C11 4.55228 11.4477 5 12 5Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16 1C16 1 17.5 2 17.5 4C17.5 6 16 7 16 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8 1C8 1 6.5 2 6.5 4C6.5 6 8 7 8 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M7 23L8.11111 19M17 23L15.8889 19M14.5 14L12 5L9.5 14M14.5 14H9.5M14.5 14L15.8889 19M9.5 14L8.11111 19M8.11111 19H15.8889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,c.forwardRef)(g);var G=x;