@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
20 lines (19 loc) • 584 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
import type { SkipLinkData } from '../../context/skip-links/types';
type SkipLinkProps = {
id: string;
children: ReactNode;
onBeforeNavigate?: SkipLinkData['onBeforeNavigate'];
navigate?: SkipLinkData['navigate'];
};
/**
* A link that moves current tab position to a different element
*
* This component is rendered internally and is not exported publicly.
*/
export declare const SkipLink: ({ id, children, onBeforeNavigate, navigate, }: SkipLinkProps) => JSX.Element;
export {};