UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.63 kB
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var c=(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={}))f.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&c(o,t,r[t]);return o};var k=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of a(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=V(r,e))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?C(h(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>l(n({},"__esModule",{value:!0}),o);var M={};k(M,{default:()=>v});module.exports=g(M);var s=S(require("react")),d=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),p=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},p),s.createElement("path",{d:"M9 8C9 6.34315 10.3431 5 12 5V5C13.6569 5 15 6.34315 15 8V21.4C15 21.7314 14.7314 22 14.4 22H9.6C9.26863 22 9 21.7314 9 21.4V8Z",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M9 11H15",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M12 5V2M12 2H11M12 2H13",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,d.forwardRef)(x);var v=G;