We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf2214 commit 0010361Copy full SHA for 0010361
packages/ibm-products/src/components/Card/Card.tsx
@@ -32,6 +32,7 @@ interface Metadata {
32
id?: string;
33
icon?: () => ReactNode;
34
iconDescription?: string;
35
+ [key: `data-${string}`]: string;
36
}
37
38
type LinkType = {
@@ -40,7 +41,7 @@ type LinkType = {
40
41
[key: string]: unknown;
42
};
43
-export interface ActionIcon extends Metadata, HTMLAttributes<HTMLElement> {
44
+export interface ActionIcon extends Metadata {
45
onKeydown?: (event: KeyboardEvent) => void;
46
onClick?: (
47
event: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>
0 commit comments