iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.97 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,H=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,h=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,s=(o,r)=>{for(var t in r||(r={}))V.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))h.call(r,t)&&m(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!V.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(C=u(r,e))||C.enumerable});return o};var a=(o,r,t)=>(t=o!=null?d(H(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>k});module.exports=g(v);var p=a(require("react")),c=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=p.useContext(l.IconoirContext),C=s(s({},t),o);return p.createElement("svg",s({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),p.createElement("path",{d:"M21 8V16C21 18.7614 18.7614 21 16 21H8C5.23858 21 3 18.7614 3 16V8C3 5.23858 5.23858 3 8 3H16C18.7614 3 21 5.23858 21 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M13.9 18H10.1C9.76863 18 9.5 17.7314 9.5 17.4V15.1C9.5 14.7686 9.23137 14.5 8.9 14.5H6.6C6.26863 14.5 6 14.2314 6 13.9V10.1C6 9.76863 6.26863 9.5 6.6 9.5H8.9C9.23137 9.5 9.5 9.23137 9.5 8.9V6.6C9.5 6.26863 9.76863 6 10.1 6H13.9C14.2314 6 14.5 6.26863 14.5 6.6V8.9C14.5 9.23137 14.7686 9.5 15.1 9.5H17.4C17.7314 9.5 18 9.76863 18 10.1V13.9C18 14.2314 17.7314 14.5 17.4 14.5H15.1C14.7686 14.5 14.5 14.7686 14.5 15.1V17.4C14.5 17.7314 14.2314 18 13.9 18Z",stroke:"currentColor"}))},G=(0,c.forwardRef)(x);var k=G;