File size: 328 Bytes
bc20498
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
export type FocusTarget = string | HTMLElement | SVGElement | null;
export type FocusProp = FocusTarget | ((defaultEl?: HTMLElement | null) => FocusTarget);
type HandleFocusArgs = {
    prop?: FocusProp;
    defaultEl: HTMLElement | null;
};
export declare function handleFocus(args: HandleFocusArgs): Promise<void>;
export {};