UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.69 kB
"use client";var C=Object.create;var n=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,V=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,a=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={}))f.call(r,e)&&c(o,e,r[e]);if(m)for(var e of m(r))a.call(r,e)&&c(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},d=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of w(r))!f.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=L(r,t))||s.enumerable});return o};var k=(o,r,e)=>(e=o!=null?C(V(o)):{},d(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>d(n({},"__esModule",{value:!0}),o);var v={};h(v,{default:()=>G});module.exports=S(v);var p=k(require("react")),l=require("react"),u=require("../IconoirContext.js");const g=(o,r)=>{const e=p.useContext(u.IconoirContext),s=i(i({},e),o);return p.createElement("svg",i({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},s),p.createElement("path",{d:"M20 9L18.005 20.3463C17.8369 21.3026 17.0062 22 16.0353 22H7.96474C6.99379 22 6.1631 21.3026 5.99496 20.3463L4 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M21 6L15.375 6M3 6L8.625 6M8.625 6V4C8.625 2.89543 9.52043 2 10.625 2H13.375C14.4796 2 15.375 2.89543 15.375 4V6M8.625 6L15.375 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;