iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.8 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var C=(o,r,e)=>r in o?n(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)&&C(o,e,r[e]);if(m)for(var e of m(r))k.call(r,e)&&C(o,e,r[e]);return o};var L=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var S=(o,r,e)=>(e=o!=null?u(h(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),V=o=>f(n({},"__esModule",{value:!0}),o);var v={};L(v,{default:()=>G});module.exports=V(v);var p=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const e=p.useContext(l.IconoirContext),s=i(i({},e),o);return p.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},s),p.createElement("path",{d:"M11 5V19C11 20.1046 11.8954 21 13 21C14.1046 21 15 20.1046 15 19L15 5C15 3.89543 14.1046 3 13 3C11.8954 3 11 3.89543 11 5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M11.6396 3.52916L6.74732 8.17181C5.94609 8.93214 5.91294 10.198 6.67328 10.9993C7.43361 11.8005 8.69951 11.8336 9.50074 11.0733L14.3931 6.43066C15.1943 5.67033 15.2274 4.40443 14.4671 3.6032C13.7068 2.80198 12.4409 2.76883 11.6396 3.52916Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,d.forwardRef)(g);var G=x;