nice-ui
Version:
React design system, components, and utilities
12 lines (11 loc) • 463 B
TypeScript
import * as React from 'react';
import type { CommandPaletteCmdGroup, CommandPaletteCmdRef } from '../types';
export interface CommandPaletteListProps {
list: CommandPaletteCmdGroup[];
selected?: null | CommandPaletteCmdRef;
highlight?: string[];
disabled?: boolean;
onSelect?: (item: CommandPaletteCmdRef) => void;
onRun?: (cmd: CommandPaletteCmdRef) => void;
}
export declare const CommandPaletteList: React.FC<CommandPaletteListProps>;