mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 06:51:46 +01:00
fix(CommandPalette): reactivity issue + improve results
Resolves #95, resolves #96
This commit is contained in:
2
src/runtime/types/command-palette.d.ts
vendored
2
src/runtime/types/command-palette.d.ts
vendored
@@ -1,4 +1,3 @@
|
||||
import type { Ref, ComputedRef } from 'vue'
|
||||
import type { UseFuseOptions } from '@vueuse/integrations/useFuse'
|
||||
import type { Avatar } from './avatar'
|
||||
|
||||
@@ -19,6 +18,5 @@ export interface Group {
|
||||
active?: string
|
||||
inactive?: string
|
||||
commands: Command[]
|
||||
customQuery?: (query: Ref<string>) => ComputedRef<string>
|
||||
options?: Partial<UseFuseOptions<Command>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user