UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.9 kB
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var m=(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)&&m(o,t,r[t]);if(p)for(var t of p(r))w.call(r,t)&&m(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(C=V(r,e))||C.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(k(o)):{},d(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(n({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>L});module.exports=g(v);var s=S(require("react")),f=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(l.IconoirContext),C=i(i({},t),o);return s.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},C),s.createElement("path",{d:"M2 15V9C2 5.68629 4.68629 3 8 3H16C19.3137 3 22 5.68629 22 9V15C22 18.3137 19.3137 21 16 21H8C4.68629 21 2 18.3137 2 15Z",stroke:"currentColor"}),s.createElement("path",{d:"M16.3571 12C17.0714 12 18.5 12 18.5 10C18.5 8 17.0714 8 16.3571 8L13.5 8V12M16.3571 12C15.2143 12 13.9762 12 13.5 12M16.3571 12C17.0714 12 18.5 12 18.5 14C18.5 16 17.0714 16 16.3571 16H13.5V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M8.35714 8H5.5V12L5.5 16H8.35714C9.07143 16 10.5 16 10.5 14V10C10.5 8 9.07143 8 8.35714 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,f.forwardRef)(x);var L=G;