@atlaskit/navigation-system
Version:
Page layout and navigation components for Atlassian apps.
19 lines (18 loc) • 755 B
TypeScript
import { type SkipLinkData } from '../../context/skip-links/types';
/**
* A container element for the skip links.
*
* The container element is always rendered in the DOM, but is only visible when
* focus is within the container.
*
* The label is used as the heading of the skip links container. If the provided label is a string
* comprised only of only whitespace (e.g. '' or ' '), the skip link heading element will be removed.
*
* The popup interaction requires both the skip-link accessibility gate and the menu placeholder gate.
*/
export declare function SkipLinksContainer({ label, triggerLabel, testId, links, }: {
label: string;
triggerLabel: string;
testId?: string;
links: Array<SkipLinkData>;
}): JSX.Element | null;