UNPKG

@atlaskit/navigation-system

Version:

The latest navigation system for Atlassian apps.

12 lines (11 loc) • 312 B
import { useSkipLinkInternal } from './use-skip-link-internal'; /** * Call `useSkipLink` to register a skip link for important elements on the page. */ export var useSkipLink = function useSkipLink(id, label, listIndex) { useSkipLinkInternal({ id: id, label: label, listIndex: listIndex }); };