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

//# sourceMappingURL=PrimaryButton.js.map
