UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.87 kB
"use client";var f=Object.create;var s=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&m(o,t,r[t]);if(C)for(var t of C(r))w.call(r,t)&&m(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!d.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=V(r,n))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?f(k(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>l(s({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>L});module.exports=g(v);var e=S(require("react")),u=require("react"),c=require("../IconoirContext.js");const x=(o,r)=>{const t=e.useContext(c.IconoirContext),p=i(i({},t),o);return e.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},p),e.createElement("path",{d:"M6 18.01L6.01 17.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 6.01L6.01 5.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M2 9.4V2.6C2 2.26863 2.26863 2 2.6 2H21.4C21.7314 2 22 2.26863 22 2.6V9.4C22 9.73137 21.7314 10 21.4 10H2.6C2.26863 10 2 9.73137 2 9.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M2 21.4V14.6C2 14.2686 2.26863 14 2.6 14H21.4C21.7314 14 22 14.2686 22 14.6V21.4C22 21.7314 21.7314 22 21.4 22H2.6C2.26863 22 2 21.7314 2 21.4Z",stroke:"currentColor"}))},G=(0,u.forwardRef)(x);var L=G;