diff --git a/src/types/ImageItemConfig.ts b/src/types/ImageItemConfig.ts index e668d1b..e89ef43 100644 --- a/src/types/ImageItemConfig.ts +++ b/src/types/ImageItemConfig.ts @@ -92,6 +92,13 @@ export type ImageGradientConfig = Partial; menuItems?: Array; - icon?: IconConfig; + + /** + * `IconConfig` is deprecated, use `ImageItemConfig` instead. + * Used to configure what icon or image to show in the submenu. + * + * Note: The icon is only shown if the menu is a submenu. If the menu + * is the root menu, the icon will not be visible. + */ + icon?: IconConfig | ImageItemConfig; }; \ No newline at end of file