@atlaskit/progress-bar
Version:
A progress bar communicates the status of a system process.
27 lines (26 loc) • 974 B
JavaScript
import React from 'react';
import ProgressBar from './progress-bar';
/**
* __Transparent progress bar__
*
* A transparent progress bar is used on bold backgrounds to maintain suitable contrast.
*
* - [Examples](https://atlassian.design/components/progress-bar/transparent-progress-bar/examples)
* - [Code](https://atlassian.design/components/progress-bar/transparent-progress-bar/code)
*/
var TransparentProgressBar = function TransparentProgressBar(_ref) {
var ariaLabel = _ref.ariaLabel,
_ref$isIndeterminate = _ref.isIndeterminate,
isIndeterminate = _ref$isIndeterminate === void 0 ? false : _ref$isIndeterminate,
testId = _ref.testId,
_ref$value = _ref.value,
value = _ref$value === void 0 ? 0 : _ref$value;
return /*#__PURE__*/React.createElement(ProgressBar, {
appearance: "inverse",
value: value,
isIndeterminate: isIndeterminate,
ariaLabel: ariaLabel,
testId: testId
});
};
export default TransparentProgressBar;