"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TabTitle = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
function TabTitle({ title, count, color = 'blue' }) {
    return (React.createElement("div", { className: "flex items-center p-1" },
        React.createElement("div", { className: "flex-1" }, title),
        count ? React.createElement("div", { className: `ml-1 text-${color} text-sm font-bold align-text-top` },
            "[",
            count,
            "]") : null));
}
exports.TabTitle = TabTitle;
//# sourceMappingURL=TabTitle.js.map