UNPKG

vuetify

Version:

Vue Material Component Framework

12 lines (11 loc) 483 B
import type { InjectionKey, Ref } from 'vue'; import type { VCommandPaletteItem } from './types.js'; export interface CommandPaletteProvide { items: Ref<VCommandPaletteItem[]>; filteredItems: Ref<VCommandPaletteItem[]>; selectedIndex: Ref<number>; search: Ref<string>; setSelectedIndex: (index: number) => void; } export declare const VCommandPaletteSymbol: InjectionKey<CommandPaletteProvide>; export declare function useCommandPalette(): CommandPaletteProvide;