@1money/react-ui 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MouseEvent, KeyboardEvent, CSSProperties } from 'react';
|
|
1
|
+
import type { MouseEvent, KeyboardEvent, CSSProperties, HTMLAttributes } from 'react';
|
|
2
2
|
export interface IconsProps extends IconWrapperProps {
|
|
3
3
|
}
|
|
4
4
|
export interface IconWrapperProps {
|
|
@@ -19,7 +19,7 @@ export interface IconWrapperProps {
|
|
|
19
19
|
onClick?: (e: MouseEvent<HTMLElement>) => any;
|
|
20
20
|
onKeyDown?: (e: KeyboardEvent<HTMLElement>) => any;
|
|
21
21
|
}
|
|
22
|
-
export interface IconHoverProps {
|
|
22
|
+
export interface IconHoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'prefix'> {
|
|
23
23
|
className?: string;
|
|
24
24
|
prefixCls?: string;
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MouseEvent, KeyboardEvent, CSSProperties } from 'react';
|
|
1
|
+
import type { MouseEvent, KeyboardEvent, CSSProperties, HTMLAttributes } from 'react';
|
|
2
2
|
export interface IconsProps extends IconWrapperProps {
|
|
3
3
|
}
|
|
4
4
|
export interface IconWrapperProps {
|
|
@@ -19,7 +19,7 @@ export interface IconWrapperProps {
|
|
|
19
19
|
onClick?: (e: MouseEvent<HTMLElement>) => any;
|
|
20
20
|
onKeyDown?: (e: KeyboardEvent<HTMLElement>) => any;
|
|
21
21
|
}
|
|
22
|
-
export interface IconHoverProps {
|
|
22
|
+
export interface IconHoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'prefix'> {
|
|
23
23
|
className?: string;
|
|
24
24
|
prefixCls?: string;
|
|
25
25
|
}
|