mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
upgrade deps
This commit is contained in:
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;
|
||||
+2
-1
@@ -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,
|
||||
Reference in new issue
Block a user