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 m=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,C=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,i=(o,r)=>{for(var e in r||(r={}))C.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 L=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of V(r))!C.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=f(r,n))||p.enumerable});return o};var w=(o,r,e)=>(e=o!=null?m(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>c(s({},"__esModule",{value:!0}),o);var M={};L(M,{default:()=>G});module.exports=S(M);var t=w(require("react")),k=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(l.IconoirContext),p=i(i({},e),o);return t.createElement("svg",i({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},p),t.createElement("path",{d:"M4 6V12C4 12 4 15 11 15C18 15 18 12 18 12V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11 3C18 3 18 6 18 6C18 6 18 9 11 9C4 9 4 6 4 6C4 6 4 3 11 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11 21C4 21 4 18 4 18V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15 21V19",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M18 21V17",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M21 21V15",stroke:"currentColor",strokeLinecap:"round"}))},x=(0,k.forwardRef)(g);var G=x;