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