iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.57 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var V=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 V(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=w(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 L={};a(L,{default:()=>v});module.exports=x(L);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:"M16.75 12H6.75M6.75 12L9.5 14.75M6.75 12L9.5 9.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M2 15V9C2 6.79086 3.79086 5 6 5H18C20.2091 5 22 6.79086 22 9V15C22 17.2091 20.2091 19 18 19H6C3.79086 19 2 17.2091 2 15Z",stroke:"currentColor"}))},k=(0,C.forwardRef)(G);var v=k;