UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.64 kB
"use client";var d=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=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={}))c.call(r,e)&&m(o,e,r[e]);if(l)for(var e of l(r))h.call(r,e)&&m(o,e,r[e]);return o};var k=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of w(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=V(r,t))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?d(a(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var L={};k(L,{default:()=>v});module.exports=g(L);var s=S(require("react")),u=require("react"),C=require("../IconoirContext.js");const x=(o,r)=>{const e=s.useContext(C.IconoirContext),i=p(p({},e),o);return s.createElement("svg",p({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),s.createElement("path",{d:"M3 22L3 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M21 22V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M15 16H9C7.89543 16 7 15.1046 7 14V10C7 8.89543 7.89543 8 9 8H15C16.1046 8 17 8.89543 17 10V14C17 15.1046 16.1046 16 15 16Z",fill:"currentColor",stroke:"currentColor"}))},G=(0,u.forwardRef)(x);var v=G;