iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.82 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=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,p=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&m(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&m(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!u.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=V(r,t))||i.enumerable});return o};var L=(o,r,e)=>(e=o!=null?C(a(o)):{},c(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>c(n({},"__esModule",{value:!0}),o);var M={};w(M,{default:()=>G});module.exports=S(M);var s=L(require("react")),f=require("react"),l=require("../IconoirContext.js");const g=(o,r)=>{const e=s.useContext(l.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:"M4 12V2.6C4 2.26863 4.26863 2 4.6 2H16.2515C16.4106 2 16.5632 2.06321 16.6757 2.17574L19.8243 5.32426C19.9368 5.43679 20 5.5894 20 5.74853V21.4C20 21.7314 19.7314 22 19.4 22H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M16 2V5.4C16 5.73137 16.2686 6 16.6 6H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M1.99219 19H4.99219M7.99219 19H4.99219M4.99219 19V16M4.99219 19V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,f.forwardRef)(g);var G=x;