mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(NavigationMenu): improve badge tsdoc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user