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