iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.68 kB
JavaScript
"use client";var w=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,S=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,a=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))a.call(r,t)&&f(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 d(r))!C.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=V(r,e))||s.enumerable});return o};var h=(o,r,t)=>(t=o!=null?w(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 k={};g(k,{default:()=>L});module.exports=x(k);var l=h(require("react")),i=require("react"),u=require("../IconoirContext.js");const G=(o,r)=>{const t=l.useContext(u.IconoirContext),s=p(p({},t),o);return l.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),l.createElement("path",{d:"M21 12V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H12",stroke:"currentColor",strokeLinecap:"round"}),l.createElement("path",{d:"M20.879 16.9176C21.373 17.2216 21.342 17.9606 20.834 18.0186L18.267 18.3096L17.116 20.6216C16.888 21.0806 16.183 20.8556 16.066 20.2876L14.811 14.1716C14.712 13.6916 15.144 13.3896 15.561 13.6466L20.879 16.9176Z",fill:"currentColor",stroke:"currentColor"}))},v=(0,i.forwardRef)(G);var L=v;