iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.02 kB
JavaScript
"use client";var l=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var m=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))V.call(r,e)&&m(o,e,r[e]);if(p)for(var e of p(r))a.call(r,e)&&m(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of w(r))!V.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=u(r,t))||s.enumerable});return o};var k=(o,r,e)=>(e=o!=null?l(L(o)):{},c(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>c(n({},"__esModule",{value:!0}),o);var H={};h(H,{default:()=>G});module.exports=S(H);var i=k(require("react")),f=require("react"),d=require("../IconoirContext.js");const g=(o,r)=>{const e=i.useContext(d.IconoirContext),s=C(C({},e),o);return i.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},s),i.createElement("path",{d:"M13 19L16 22L21 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M9 22H7C5.89543 22 5 21.1046 5 20V11.1817C5 11.0632 4.96494 10.9474 4.89923 10.8488L3.10077 8.15115C3.03506 8.05259 3 7.93679 3 7.81833V2.6C3 2.26863 3.26863 2 3.6 2H5.4C5.73137 2 6 2.26863 6 2.6V4.4C6 4.73137 6.26863 5 6.6 5H9.4C9.73137 5 10 4.73137 10 4.4V2.6C10 2.26863 10.2686 2 10.6 2H13.4C13.7314 2 14 2.26863 14 2.6V4.4C14 4.73137 14.2686 5 14.6 5H17.4C17.7314 5 18 4.73137 18 4.4V2.6C18 2.26863 18.2686 2 18.6 2H20.4C20.7314 2 21 2.26863 21 2.6V7.81833C21 7.93679 20.9649 8.05259 20.8992 8.15115L19.1008 10.8488C19.0351 10.9474 19 11.0632 19 11.1817V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,f.forwardRef)(g);var G=x;