@atlaskit/logo
Version:
A logo is a visual representation of a brand or product. It can be a word or an image, or a combination of both.
41 lines (39 loc) • 1.52 kB
JavaScript
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LoomAttributionIcon = void 0;
var _react = _interopRequireDefault(require("react"));
var _constants = require("../constants");
var _loomLogo = require("../loom-logo");
/* eslint-disable max-len */
/**
* __Loom Attribution icon__
*
* The Loom attribution icon without an accompanying wordmark.
*
* - [Examples](https://atlassian.design/components/logo/examples)
* - [Code](https://atlassian.design/components/logo/code)
* - [Usage](https://atlassian.design/components/logo/usage)
*/
var LoomAttributionIcon = exports.LoomAttributionIcon = function LoomAttributionIcon(_ref) {
var appearance = _ref.appearance,
_ref$label = _ref.label,
label = _ref$label === void 0 ? 'Loom Attribution' : _ref$label,
_ref$size = _ref.size,
size = _ref$size === void 0 ? _constants.defaultLogoParams.size : _ref$size,
testId = _ref.testId,
_ref$iconColor = _ref.iconColor,
iconColor = _ref$iconColor === void 0 ? _constants.defaultLogoParams.iconColor : _ref$iconColor,
_ref$textColor = _ref.textColor,
textColor = _ref$textColor === void 0 ? _constants.defaultLogoParams.textColor : _ref$textColor;
return /*#__PURE__*/_react.default.createElement(_loomLogo.LoomIcon, {
appearance: appearance,
label: label,
size: size,
testId: testId,
iconColor: iconColor,
textColor: textColor
});
};