chore(NavigationMenu): improve badge tsdoc

This commit is contained in:
Benjamin Canac
2024-12-13 11:43:39 +01:00
parent f97d2e3b88
commit ae33adb900

View File

@@ -21,6 +21,10 @@ export interface NavigationMenuItem extends Omit<LinkProps, 'raw' | 'custom'>, P
label?: string
icon?: string
avatar?: AvatarProps
/**
* Display a badge on the item.
* `{ size: 'sm', color: 'neutral', variant: 'outline' }`{lang="ts-type"}
*/
badge?: string | number | BadgeProps
trailingIcon?: string
slot?: string