chore(CommandPalette): improve component

This commit is contained in:
Benjamin Canac
2022-07-18 15:28:39 +02:00
parent ea293bae0c
commit 222bb987a4
2 changed files with 11 additions and 5 deletions

View File

@@ -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[]
}