UNPKG

vitepress-plugin-pagefind

Version:

vitepress plugin, Offline full-text search based on pagefind implementation.

38 lines (29 loc) 594 B
export interface ItemInfo { key: string value: string } export type Noop = () => void export interface CommandRootProps { theme?: string } export interface CommandRootEmits { selectItem: [item: ItemInfo] } export interface CommandItemProps { shortcut?: string[] perform?: Noop } export interface CommandItemEmits { select: [item: ItemInfo] } export interface CommandInputProps { placeholder?: string value?: string } export interface CommandInputEmits { input: [ie: InputEvent] 'update:value': [val: any] } export interface CommandGroupProps { heading: string }