7 lines
202 B
TypeScript
7 lines
202 B
TypeScript
|
|
/**
|
||
|
|
* Listens for when the escape key is down
|
||
|
|
*/
|
||
|
|
declare function useEscapeKeydown(onEscapeKeyDownProp?: (event: KeyboardEvent) => void, ownerDocument?: Document): void;
|
||
|
|
|
||
|
|
export { useEscapeKeydown };
|