Files
routie/frontend/node_modules/vuetify/lib/labs/VCommandPalette/shared.d.ts
T

12 lines
483 B
TypeScript

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;