iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.56 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var f=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,C=(o,r)=>{for(var t in r||(r={}))l.call(r,t)&&f(o,t,r[t]);if(m)for(var t of m(r))S.call(r,t)&&f(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of u(r))!l.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=h(r,e))||p.enumerable});return o};var x=(o,r,t)=>(t=o!=null?d(w(o)):{},i(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),G=o=>i(n({},"__esModule",{value:!0}),o);var M={};g(M,{default:()=>k});module.exports=G(M);var s=x(require("react")),c=require("react"),V=require("../IconoirContext.js");const a=(o,r)=>{const t=s.useContext(V.IconoirContext),p=C(C({},t),o);return s.createElement("svg",C({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),s.createElement("path",{d:"M5 12V18C5 18 5 21 12 21C19 21 19 18 19 18V12",stroke:"currentColor"}),s.createElement("path",{d:"M5 6V12C5 12 5 15 12 15C19 15 19 12 19 12V6",stroke:"currentColor"}),s.createElement("path",{d:"M12 3C19 3 19 6 19 6C19 6 19 9 12 9C5 9 5 6 5 6C5 6 5 3 12 3Z",stroke:"currentColor"}))},v=(0,c.forwardRef)(a);var k=v;