GoScrobble/web/node_modules/react-overlays/esm/manageAriaHidden.d.ts

9 lines
388 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
export declare function ariaHidden(hide: boolean, node: Element | null | undefined): void;
interface SiblingExclusions {
dialog: Element;
backdrop: Element;
}
export declare function hideSiblings(container: Element, { dialog, backdrop }: SiblingExclusions): void;
export declare function showSiblings(container: Element, { dialog, backdrop }: SiblingExclusions): void;
export {};