iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.64 kB
JavaScript
"use client";var V=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,k=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,p=(o,r)=>{for(var t in r||(r={}))m.call(r,t)&&c(o,t,r[t]);if(l)for(var t of l(r))k.call(r,t)&&c(o,t,r[t]);return o};var x=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of C(r))!m.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=h(r,e))||i.enumerable});return o};var g=(o,r,t)=>(t=o!=null?V(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>f(n({},"__esModule",{value:!0}),o);var L={};x(L,{default:()=>v});module.exports=S(L);var s=g(require("react")),u=require("react"),d=require("../IconoirContext.js");const a=(o,r)=>{const t=s.useContext(d.IconoirContext),i=p(p({},t),o);return s.createElement("svg",p({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),s.createElement("rect",{x:9,y:2,width:6,height:12,rx:3,fill:"currentColor",stroke:"currentColor",strokeWidth:1.5}),s.createElement("path",{d:"M5 10V11C5 14.866 8.13401 18 12 18V18V18C15.866 18 19 14.866 19 11V10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M12 18V22M12 22H9M12 22H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,u.forwardRef)(a);var v=G;