UNPKG

@atlaskit/atlassian-navigation

Version:

A horizontal navigation component for Atlassian apps.

23 lines (22 loc) 1.02 kB
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import { type NavigationSkeletonProps } from './types'; /** * __Navigation skeleton__ * * Use loading skeletons to reduce the perceived loading time of heavier * full-page experiences. This should only be used when the whole navigation is * delayed; if there are only certain dynamically loaded navigation items that * slow down the page, you should look into using * [skeleton buttons](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button) * instead. * * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-loader) * - [Code](https://atlassian.design/components/{packageName}/code) * * @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead. */ export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => React.JSX.Element;