upgrade deps

This commit is contained in:
undefined committed 2024-02-23 07:01:14 +08:00
1 parent f8bc7b19f4
commit 5d4fdb5fc9
17 files changed
+52 -72

No files matched your search

@@ -23,7 +23,7 @@ function monitorResource(resource) {
}
}
class DOMAttachedObject {
export default class DOMAttachedObject {
static uniqueIdCounter = 0;
static DOMAttachKey: string;
static DOMAttachSelector: string;
@@ -127,5 +127,3 @@ class DOMAttachedObject {
if (monitorDetach) monitorResource(this);
}
}
export default DOMAttachedObject as typeof DOMAttachedObject & DOMAttachedObject;
@@ -1,7 +1,8 @@
import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
export default function IconComponent(props) {
export default function IconComponent(props: { name: string, className?: string } & React.HTMLAttributes<HTMLSpanElement>) {
const {
name,
className,