2025-11-13 13:13:34 -07:00

10 lines
323 B
TypeScript

declare function FocusGuards(props: any): any;
/**
* Injects a pair of focus guards at the edges of the whole DOM tree
* to ensure `focusin` & `focusout` events can be caught consistently.
*/
declare function useFocusGuards(): void;
declare const Root: typeof FocusGuards;
export { FocusGuards, Root, useFocusGuards };