@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian apps.
29 lines • 1.31 kB
JavaScript
/* skeleton-notification-button.tsx generated by @compiled/babel-plugin v0.39.1 */
import "./skeleton-notification-button.compiled.css";
import { ax, ix } from "@compiled/react/runtime";
import React from 'react';
import NotificationIcon from '@atlaskit/icon/core/notification';
import { Flex } from '@atlaskit/primitives/compiled';
import { SkeletonIconButton } from './components/SkeletonIconButton';
const iconSpacingStyles = {
space050: "_1rjc1b66 _18zr1b66"
};
/**
* __Skeleton notification 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 Notification button.
*
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
*/
export const SkeletonNotificationButton = ({
label = ''
}) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
xcss: iconSpacingStyles.space050
}, /*#__PURE__*/React.createElement(NotificationIcon, {
color: "currentColor",
label: label
})));
export { Nav4SkeletonNotificationButton } from './nav4-skeleton-notification-button';