import { __assign, __extends } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
import ButtonTab from '../tab/ButtonTab';
import CommonTabsNav from './CommonTabsNav';
var ButtonTabsNav = (function (_super) {
    __extends(ButtonTabsNav, _super);
    function ButtonTabsNav() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.typeName = 'button';
        return _this;
    }
    ButtonTabsNav.prototype.renderTab = function (data) {
        return (_jsx(ButtonTab, __assign({ onSelected: this.onTabSelected, onDelete: this.onTabDel }, data, { id: data.key }, { children: data.title }), void 0));
    };
    return ButtonTabsNav;
}(CommonTabsNav));
export default ButtonTabsNav;
