From 849ae9f359c8d18ca533e35c452b183e63a72a3d Mon Sep 17 00:00:00 2001 From: Alper Ari <68128434+alperari@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:47:27 +0200 Subject: [PATCH] feat: make AdditionalProps in IconOptions type optional (#7149) --- 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 db8c8d7954..695b9b8f2d 100644 --- a/components/lib/utils/utils.d.ts +++ b/components/lib/utils/utils.d.ts @@ -181,7 +181,7 @@ export declare namespace ZIndexUtils { * @template ComponentProps Props from the owning component. * @template AdditionalProps Any custom properties of an icon like SortIcon of the Datatable for example. */ -export type IconOptions = AdditionalProps & { +export type IconOptions> = AdditionalProps & { /** * Icon specific properties. Size property allows FontAwesome to work properly. * @type {(React.HTMLProps & { size?: string }) | (React.SVGProps & { size?: string })}