feat(Breacrumb/ContextMenu/DropdownMenu/NavigationMenu): bind item class on link

This commit is contained in:
Benjamin Canac
2024-08-06 12:52:01 +02:00
parent 10bb9b486a
commit d13e27eb5b
6 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ const appConfig = _appConfig as AppConfig & { ui: { dropdownMenu: Partial<typeof
const dropdownMenu = tv({ extend: tv(theme), ...(appConfig.ui?.dropdownMenu || {}) })
export interface DropdownMenuItem extends Omit<LinkProps, 'type' | 'custom'>, Pick<DropdownMenuItemProps, 'disabled'> {
export interface DropdownMenuItem extends Omit<LinkProps, 'type' | 'raw' | 'custom'>, Pick<DropdownMenuItemProps, 'disabled'> {
label?: string
icon?: string
avatar?: AvatarProps