UNPKG

@blueprintjs/core

Version:

Core styles & components

21 lines (20 loc) 694 B
import * as React from "react"; import { AbstractPureComponent, type Props } from "../../common"; import type { HotkeyConfig } from "../../hooks"; export type HotkeyProps = Props & HotkeyConfig; /** * Hotkey component used to display a hotkey in the HotkeysDialog. * Should not be used by consumers directly. */ export declare class Hotkey extends AbstractPureComponent<HotkeyProps> { static displayName: string; static defaultProps: { allowInInput: boolean; disabled: boolean; global: boolean; preventDefault: boolean; stopPropagation: boolean; }; render(): React.JSX.Element; protected validateProps(props: HotkeyProps): void; }