UNPKG

@5minds/processcube_app_sdk

Version:
14 lines (13 loc) 438 B
export type CommandPaletteEntry = { id: string; name: string; }; export type CommandPaletteProps<T extends CommandPaletteEntry> = { isOpen: boolean; placeholder: string; entries: T[]; noResultsText?: string; onConfirm: (entry: T) => void; onClose: () => void; }; export declare function CommandPalette<T extends CommandPaletteEntry>(props: CommandPaletteProps<T>): import("react/jsx-runtime").JSX.Element;