From 7dfd3485fecaa107b2ef364295fad7cdfd36f356 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 15 Nov 2023 09:40:06 -0500 Subject: [PATCH] Fix #5234: IconProps better SVG typescript support (#5325) --- components/lib/utils/utils.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/utils/utils.d.ts b/components/lib/utils/utils.d.ts index 801519bb55..f1123e34d5 100644 --- a/components/lib/utils/utils.d.ts +++ b/components/lib/utils/utils.d.ts @@ -174,7 +174,7 @@ export type IconOptions = AdditionalProps & { /** * Icon specific properties. */ - iconProps: React.HTMLProps; + iconProps: React.HTMLProps | React.SVGProps; /** * The element representing the icon. */