@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian apps.
36 lines (35 loc) • 1.47 kB
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React from 'react';
/**
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export type SkeletonSwitcherButtonProps = {
/**
* Describes the specific role of this navigation component for users viewing the page with a screen
* reader. Use this to differentiate the buttons from other navigation buttons on a page.
*/
label: string;
/**
* A `testId` prop is provided for specified elements,
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
* serving as a hook for automated tests.
*/
testId?: string;
};
/**
* __Skeleton switcher button__
*
* Skeleton buttons are lightweight HTML button elements with CSS that represent
* their heavier interactive counterparts, for use when elements of the
* navigation are loaded dynamically. This one represents the AppSwitcher button.
*
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
*
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export declare const SkeletonSwitcherButton: ({ label, testId, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
export { Nav4SkeletonSwitcherButton } from './nav4-skeleton-switcher-button';