@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian products.
28 lines (27 loc) • 1.3 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SkeletonNotificationButton = void 0;
var _react = _interopRequireDefault(require("react"));
var _notification = _interopRequireDefault(require("@atlaskit/icon/glyph/notification"));
var _SkeletonIconButton = require("./components/SkeletonIconButton");
/**
* __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)
*/
var SkeletonNotificationButton = function SkeletonNotificationButton(_ref) {
var _ref$label = _ref.label,
label = _ref$label === void 0 ? '' : _ref$label;
return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_notification.default, {
label: label
}));
};
exports.SkeletonNotificationButton = SkeletonNotificationButton;