@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian products.
18 lines • 807 B
JavaScript
import React from 'react';
import AppSwitcherIcon from '@atlaskit/icon/glyph/app-switcher';
import { SkeletonIconButton } from './components/SkeletonIconButton';
/**
* __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)
*/
export const SkeletonSwitcherButton = ({
label = ''
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(AppSwitcherIcon, {
label: label
}));