1 | import { RefObject } from 'react';
|
2 | /**
|
3 | * Do a "hard" set on the aria, so that it's always announced
|
4 | * even if the id hasn't changed, this saves us from having to have a different id
|
5 | * per item.
|
6 | */
|
7 | export declare const setActiveDescendant: (ref: Element | null, activeId: string) => void;
|
8 | export declare const useActiveDescendant: (ref: RefObject<Element>, id: string, visible: boolean | null | undefined, deps: any[]) => void;
|
9 | //# sourceMappingURL=A11y.d.ts.map |
\ | No newline at end of file |