iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.53 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,S=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(o,t,r[t]);if(l)for(var t of l(r))a.call(r,t)&&m(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of V(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=w(r,e))||s.enumerable});return o};var h=(o,r,t)=>(t=o!=null?d(S(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>c(n({},"__esModule",{value:!0}),o);var L={};g(L,{default:()=>k});module.exports=x(L);var i=h(require("react")),C=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const t=i.useContext(u.IconoirContext),s=p(p({},t),o);return i.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},s),i.createElement("path",{d:"M3 22L3 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19 16H9C7.89543 16 7 15.1046 7 14V10C7 8.89543 7.89543 8 9 8H19C20.1046 8 21 8.89543 21 10V14C21 15.1046 20.1046 16 19 16Z",fill:"currentColor",stroke:"currentColor"}))},v=(0,C.forwardRef)(G);var k=v;