mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore(CommandPalette): improve component
This commit is contained in:
4
src/runtime/types/command-palette.d.ts
vendored
4
src/runtime/types/command-palette.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
import type { UseFuseOptions } from '@vueuse/integrations/useFuse'
|
||||
import type { RouteLocationRaw } from 'vue-router'
|
||||
|
||||
export interface Command {
|
||||
prefix?: string
|
||||
@@ -9,6 +10,9 @@ export interface Command {
|
||||
avatar?: string
|
||||
chip?: string
|
||||
disabled?: boolean
|
||||
prevent?: boolean
|
||||
click?: Function
|
||||
to?: RouteLocationRaw
|
||||
shortcuts?: string[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user