mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 11:47:55 +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
|
label?: string
|
||||||
icon?: string
|
icon?: string
|
||||||
avatar?: AvatarProps
|
avatar?: AvatarProps
|
||||||
|
/**
|
||||||
|
* Display a badge on the item.
|
||||||
|
* `{ size: 'sm', color: 'neutral', variant: 'outline' }`{lang="ts-type"}
|
||||||
|
*/
|
||||||
badge?: string | number | BadgeProps
|
badge?: string | number | BadgeProps
|
||||||
trailingIcon?: string
|
trailingIcon?: string
|
||||||
slot?: string
|
slot?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user