@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
19 lines (18 loc) • 753 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.
*
* When `platform_dst_nav4_skip_link_a11y_1` is enabled, rendering is delegated to `SkipLinksPopup`.
*/
export declare function SkipLinksContainer({ label, triggerLabel, testId, links, }: {
label: string;
triggerLabel: string;
testId?: string;
links: Array<SkipLinkData>;
}): JSX.Element | null;