diff --git a/components/lib/utils/utils.d.ts b/components/lib/utils/utils.d.ts index 01e5378692..3c40163b32 100644 --- a/components/lib/utils/utils.d.ts +++ b/components/lib/utils/utils.d.ts @@ -177,20 +177,23 @@ export declare namespace ZIndexUtils { /** * Icon options passed to any icon. - * ComponentProps are props from the owning component. - * AdditionalProps are any custom properties of an icon like SortIcon of the Datatable for example. + * @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 & { /** - * Icon specific properties. + * Icon specific properties. Size property allows FontAwesome to work properly. + * @type {(React.HTMLProps & { size?: string }) | (React.SVGProps & { size?: string })} */ - iconProps: React.HTMLProps | React.SVGProps; + iconProps: (React.HTMLProps & { size?: string }) | (React.SVGProps & { size?: string }); /** * The element representing the icon. + * @type {React.ReactNode} */ element: React.ReactNode; /** * Properties of the owning component. + * @type {ComponentProps} */ props?: ComponentProps; [key: string]: any;