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 u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var f=(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={}))c.call(r,t)&&f(o,t,r[t]);if(m)for(var t of m(r))S.call(r,t)&&f(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=V(r,e))||s.enumerable});return o};var g=(o,r,t)=>(t=o!=null?u(h(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(n({},"__esModule",{value:!0}),o);var E={};a(E,{default:()=>v});module.exports=x(E);var i=g(require("react")),C=require("react"),d=require("../IconoirContext.js");const G=(o,r)=>{const t=i.useContext(d.IconoirContext),s=p(p({},t),o);return i.createElement("svg",p({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},s),i.createElement("path",{d:"M23 10V14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M1 16V8C1 6.89543 1.89543 6 3 6H18C19.1046 6 20 6.89543 20 8V16C20 17.1046 19.1046 18 18 18H3C1.89543 18 1 17.1046 1 16Z",stroke:"currentColor"}))},k=(0,C.forwardRef)(G);var v=k;