mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
docs(navigation-menu): update
This commit is contained in:
@@ -15,7 +15,7 @@ export interface NavigationMenuChildItem extends Omit<LinkProps, 'raw' | 'custom
|
||||
label: string
|
||||
description?: string
|
||||
icon?: string
|
||||
select?(e: MouseEvent): void
|
||||
select?(e: Event): void
|
||||
}
|
||||
|
||||
export interface NavigationMenuItem extends Omit<LinkProps, 'raw' | 'custom'>, Pick<NavigationMenuItemProps, 'value'> {
|
||||
@@ -26,7 +26,7 @@ export interface NavigationMenuItem extends Omit<LinkProps, 'raw' | 'custom'>, P
|
||||
trailingIcon?: string
|
||||
slot?: string
|
||||
children?: NavigationMenuChildItem[]
|
||||
select?(e: MouseEvent): void
|
||||
select?(e: Event): void
|
||||
}
|
||||
|
||||
type NavigationMenuVariants = VariantProps<typeof navigationMenu>
|
||||
|
||||
Reference in New Issue
Block a user