Files
SnowLuma/.pnpm-store/v11/files/57/c7d05fbffed15c5c9ef47bc929eeb6ef2e0f54f88f10d98a42f273e2d214b726923407b79254e79cab3ceba25f34942a36d418466f304d7fd4201b50c1ce0c
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

14 lines
419 B
Plaintext

import * as React from 'react';
interface FocusGuardsProps {
children?: React.ReactNode;
}
declare function FocusGuards(props: FocusGuardsProps): React.ReactNode;
/**
* 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;
export { FocusGuards, FocusGuards as Root, useFocusGuards };