mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 22:41:42 +01:00
chore(InputMenu/Progress/SelectMenu): clean interfaces for syntax highlight
This commit is contained in:
@@ -92,7 +92,7 @@ export type SelectMenuEmits<T> = ComboboxRootEmits<T> & {
|
||||
|
||||
type SlotProps<T> = (props: { item: T, index: number }) => any
|
||||
|
||||
export type SelectMenuSlots<T> = {
|
||||
export interface SelectMenuSlots<T> {
|
||||
'leading'(props: { modelValue: T, open: boolean, ui: any }): any
|
||||
'default'(props: { modelValue: T, open: boolean }): any
|
||||
'trailing'(props: { modelValue: T, open: boolean, ui: any }): any
|
||||
|
||||
Reference in New Issue
Block a user