UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.6 kB
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,p=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,i=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&f(o,t,r[t]);if(p)for(var t of p(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 w(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=u(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 H={};g(H,{default:()=>k});module.exports=x(H);var m=h(require("react")),l=require("react"),V=require("../IconoirContext.js");const G=(o,r)=>{const t=m.useContext(V.IconoirContext),s=i(i({},t),o);return m.createElement("svg",i({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),m.createElement("path",{d:"M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H21.4C21.7314 7 22 7.26863 22 7.6V11M2 11V19.4C2 19.7314 2.26863 20 2.6 20H21.4C21.7314 20 22 19.7314 22 19.4V11M2 11H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},v=(0,l.forwardRef)(G);var k=v;