iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.5 kB
JavaScript
"use client";var V=Object.create;var n=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,g=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var i=(o,t,r)=>t in o?n(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,m=(o,t)=>{for(var r in t||(t={}))c.call(t,r)&&i(o,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&i(o,r,t[r]);return o};var u=(o,t)=>{for(var r in t)n(o,r,{get:t[r],enumerable:!0})},l=(o,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of d(t))!c.call(o,e)&&e!==r&&n(o,e,{get:()=>t[e],enumerable:!(s=S(t,e))||s.enumerable});return o};var x=(o,t,r)=>(r=o!=null?V(g(o)):{},l(t||!o||!o.__esModule?n(r,"default",{value:o,enumerable:!0}):r,o)),G=o=>l(n({},"__esModule",{value:!0}),o);var k={};u(k,{default:()=>R});module.exports=G(k);var p=x(require("react")),C=require("react"),w=require("../IconoirContext.js");const a=(o,t)=>{const r=p.useContext(w.IconoirContext),s=m(m({},r),o);return p.createElement("svg",m({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:t},s),p.createElement("path",{d:"M3 20.2895V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V15C21 16.1046 20.1046 17 19 17H7.96125C7.35368 17 6.77906 17.2762 6.39951 17.7506L4.06852 20.6643C3.71421 21.1072 3 20.8567 3 20.2895Z",stroke:"currentColor"}))},v=(0,C.forwardRef)(a);var R=v;