reablocks
Version:
Component library for React
15 lines (14 loc) • 550 B
TypeScript
import { default as React } from 'react';
import { ListItemProps } from '../../../layout';
import { CommandPaletteTheme } from '../CommandPaletteTheme';
export interface CommandPaletteItemProps extends Omit<ListItemProps, 'theme'> {
/**
* Keyboard shortcut displayed alongside the item.
*/
hotkey?: string;
/**
* Theme for the CommandPalette.
*/
theme?: CommandPaletteTheme;
}
export declare const CommandPaletteItem: React.ForwardRefExoticComponent<CommandPaletteItemProps & React.RefAttributes<HTMLDivElement>>;