mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 03:10:42 +01:00
chore: remove space in function type def
This commit is contained in:
@@ -23,7 +23,7 @@ export interface CommandPaletteItem extends Pick<ComboboxItemProps, 'disabled'>
|
|||||||
chip?: ChipProps
|
chip?: ChipProps
|
||||||
kbds?: KbdProps['value'][] | KbdProps[]
|
kbds?: KbdProps['value'][] | KbdProps[]
|
||||||
slot?: string
|
slot?: string
|
||||||
select? (e: Event): void
|
select?(e?: Event): void
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CommandPaletteGroup<T> {
|
export interface CommandPaletteGroup<T> {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export interface ContextMenuItem extends Omit<LinkProps, 'type' | 'custom'>, Pic
|
|||||||
open?: boolean
|
open?: boolean
|
||||||
defaultOpen?: boolean
|
defaultOpen?: boolean
|
||||||
children?: ContextMenuItem[] | ContextMenuItem[][]
|
children?: ContextMenuItem[] | ContextMenuItem[][]
|
||||||
select? (e: Event): void
|
select?(e: Event): void
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ContextMenuProps<T> extends Omit<ContextMenuRootProps, 'dir'>, Pick<ContextMenuTriggerProps, 'disabled'> {
|
export interface ContextMenuProps<T> extends Omit<ContextMenuRootProps, 'dir'>, Pick<ContextMenuTriggerProps, 'disabled'> {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export interface DropdownMenuItem extends Omit<LinkProps, 'type' | 'custom'>, Pi
|
|||||||
open?: boolean
|
open?: boolean
|
||||||
defaultOpen?: boolean
|
defaultOpen?: boolean
|
||||||
children?: DropdownMenuItem[] | DropdownMenuItem[][]
|
children?: DropdownMenuItem[] | DropdownMenuItem[][]
|
||||||
select? (e: Event): void
|
select?(e: Event): void
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DropdownMenuProps<T> extends Omit<DropdownMenuRootProps, 'dir'>, Pick<DropdownMenuTriggerProps, 'disabled'> {
|
export interface DropdownMenuProps<T> extends Omit<DropdownMenuRootProps, 'dir'>, Pick<DropdownMenuTriggerProps, 'disabled'> {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export interface NavigationMenuChildItem extends Omit<LinkProps, 'custom'> {
|
|||||||
label: string
|
label: string
|
||||||
description?: string
|
description?: string
|
||||||
icon?: string
|
icon?: string
|
||||||
select? (e: MouseEvent): void
|
select?(e: MouseEvent): void
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NavigationMenuItem extends Omit<LinkProps, 'custom'>, Pick<NavigationMenuItemProps, 'value'> {
|
export interface NavigationMenuItem extends Omit<LinkProps, 'custom'>, Pick<NavigationMenuItemProps, 'value'> {
|
||||||
@@ -26,7 +26,7 @@ export interface NavigationMenuItem extends Omit<LinkProps, 'custom'>, Pick<Navi
|
|||||||
trailingIcon?: string
|
trailingIcon?: string
|
||||||
slot?: string
|
slot?: string
|
||||||
children?: NavigationMenuChildItem[]
|
children?: NavigationMenuChildItem[]
|
||||||
select? (e: MouseEvent): void
|
select?(e: MouseEvent): void
|
||||||
}
|
}
|
||||||
|
|
||||||
type NavigationMenuVariants = VariantProps<typeof navigationMenu>
|
type NavigationMenuVariants = VariantProps<typeof navigationMenu>
|
||||||
|
|||||||
Reference in New Issue
Block a user