UNPKG

@rocket.chat/logo

Version:
12 lines 1.04 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const colors_json_1 = __importDefault(require("@rocket.chat/fuselage-tokens/colors.json")); const RocketChatLogo_1 = __importDefault(require("../RocketChatLogo")); const TaggedRocketChatLogo_styles_1 = require("./TaggedRocketChatLogo.styles"); const TaggedRocketChatLogo = ({ tagTitle, tagBackground = colors_json_1.default.r400, color = colors_json_1.default.white, ...props }) => ((0, jsx_runtime_1.jsxs)(TaggedRocketChatLogo_styles_1.LogoContainer, { ...props, children: [(0, jsx_runtime_1.jsx)(RocketChatLogo_1.default, {}), tagTitle && ((0, jsx_runtime_1.jsx)(TaggedRocketChatLogo_styles_1.LogoTag, { backgroundColor: tagBackground, color: color, children: tagTitle }))] })); exports.default = TaggedRocketChatLogo; //# sourceMappingURL=TaggedRocketChatLogo.js.map