From ae33adb900ccd898de14b4a7d4fa28a5e850746c Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 13 Dec 2024 11:43:39 +0100 Subject: [PATCH] chore(NavigationMenu): improve `badge` tsdoc --- src/runtime/components/NavigationMenu.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/components/NavigationMenu.vue b/src/runtime/components/NavigationMenu.vue index 2d423de7..440db1b5 100644 --- a/src/runtime/components/NavigationMenu.vue +++ b/src/runtime/components/NavigationMenu.vue @@ -21,6 +21,10 @@ export interface NavigationMenuItem extends Omit, 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