UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 2.12 kB
"use client";var d=Object.create;var C=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var p=(o,r,t)=>r in o?C(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))u.call(r,t)&&p(o,t,r[t]);if(l)for(var t of l(r))w.call(r,t)&&p(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)C(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!u.call(o,n)&&n!==t&&C(o,n,{get:()=>r[n],enumerable:!(s=V(r,n))||s.enumerable});return o};var S=(o,r,t)=>(t=o!=null?d(k(o)):{},c(r||!o||!o.__esModule?C(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>c(C({},"__esModule",{value:!0}),o);var H={};a(H,{default:()=>v});module.exports=g(H);var e=S(require("react")),f=require("react"),m=require("../IconoirContext.js");const x=(o,r)=>{const t=e.useContext(m.IconoirContext),s=i(i({},t),o);return e.createElement("svg",i({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},s),e.createElement("path",{d:"M2 17V7C2 4.79086 3.79086 3 6 3H9.9C10.2314 3 10.5 3.26863 10.5 3.6V20.4C10.5 20.7314 10.2314 21 9.9 21H6C3.79086 21 2 19.2091 2 17Z",stroke:"currentColor"}),e.createElement("path",{d:"M6.5 8C7.05228 8 7.5 7.55228 7.5 7C7.5 6.44772 7.05228 6 6.5 6C5.94772 6 5.5 6.44772 5.5 7C5.5 7.55228 5.94772 8 6.5 8Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.5 14C18.0523 14 18.5 13.5523 18.5 13C18.5 12.4477 18.0523 12 17.5 12C16.9477 12 16.5 12.4477 16.5 13C16.5 13.5523 16.9477 14 17.5 14Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M22 17V7C22 4.79086 20.2091 3 18 3H14.1C13.7686 3 13.5 3.26863 13.5 3.6V20.4C13.5 20.7314 13.7686 21 14.1 21H18C20.2091 21 22 19.2091 22 17Z",stroke:"currentColor"}))},G=(0,f.forwardRef)(x);var v=G;