UNPKG

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
"use client";var l=Object.create;var n=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))m.call(r,e)&&d(o,e,r[e]);if(C)for(var e of C(r))h.call(r,e)&&d(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},u=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!m.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=L(r,t))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?l(a(o)):{},u(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),V=o=>u(n({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>G});module.exports=V(v);var s=S(require("react")),c=require("react"),f=require("../IconoirContext.js");const g=(o,r)=>{const e=s.useContext(f.IconoirContext),i=p(p({},e),o);return s.createElement("svg",p({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},i),s.createElement("path",{d:"M6 4H9C9 4 9 7 12 7C15 7 15 4 15 4H18M18 11V19.4C18 19.7314 17.7314 20 17.4 20H6.6C6.26863 20 6 19.7314 6 19.4L6 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18 4L22.4429 5.77717C22.7506 5.90023 22.9002 6.24942 22.7772 6.55709L21.1509 10.6228C21.0597 10.8506 20.8391 11 20.5938 11H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M5.99993 4L1.55701 5.77717C1.24934 5.90023 1.09969 6.24942 1.22276 6.55709L2.84906 10.6228C2.94018 10.8506 3.1608 11 3.40615 11H5.99993",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,c.forwardRef)(g);var G=x;