1 |
|
2 | import { AbstractPureComponent2, Props } from "../../common";
|
3 | import { HotkeyConfig } from "../../hooks";
|
4 | export declare type IHotkeyProps = Props & HotkeyConfig;
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class Hotkey extends AbstractPureComponent2<IHotkeyProps> {
|
11 | static displayName: string;
|
12 | static defaultProps: {
|
13 | allowInInput: boolean;
|
14 | disabled: boolean;
|
15 | global: boolean;
|
16 | preventDefault: boolean;
|
17 | stopPropagation: boolean;
|
18 | };
|
19 | render(): JSX.Element;
|
20 | protected validateProps(props: IHotkeyProps): void;
|
21 | }
|