define(["require", "exports", "tslib", "react", "../BaseButton", "../../../Utilities", "./CompoundButton.styles"], function (require, exports, tslib_1, React, BaseButton_1, Utilities_1, CompoundButton_styles_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var CompoundButton = (function (_super) {
        tslib_1.__extends(CompoundButton, _super);
        function CompoundButton() {
            var _this = _super !== null && _super.apply(this, arguments) || this;
            /**
             * Tell BaseComponent to bypass resolution of componentRef.
             */
            _this._shouldUpdateComponentRef = false;
            return _this;
        }
        CompoundButton.prototype.render = function () {
            var _a = this.props, styles = _a.styles, theme = _a.theme;
            return (React.createElement(BaseButton_1.BaseButton, tslib_1.__assign({}, this.props, { variantClassName: 'ms-Button--compound', styles: CompoundButton_styles_1.getStyles(theme, styles), onRenderIcon: Utilities_1.nullRender })));
        };
        return CompoundButton;
    }(Utilities_1.BaseComponent));
    CompoundButton = tslib_1.__decorate([
        Utilities_1.customizable(['theme'])
    ], CompoundButton);
    exports.CompoundButton = CompoundButton;
});

//# sourceMappingURL=CompoundButton.js.map
