Skip to content

Commit

Permalink
Fix #5324: IconProps better SVG typescript support
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 15, 2023
1 parent aeac0fb commit 64227b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/utils/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export type IconOptions<ComponentProps, AdditionalProps> = AdditionalProps & {
/**
* Icon specific properties.
*/
iconProps: React.HTMLProps<HTMLElement> | React.SVGProps<SVGSVGElement>;
iconProps: React.HTMLProps<any> | React.SVGProps<any>;
/**
* The element representing the icon.
*/
Expand Down

0 comments on commit 64227b8

Please sign in to comment.