25 lines
1.0 KiB
JavaScript
25 lines
1.0 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.PrimaryButton = void 0;
|
|
var tslib_1 = require("tslib");
|
|
var React = require("react");
|
|
var Utilities_1 = require("../../../Utilities");
|
|
var DefaultButton_1 = require("../DefaultButton/DefaultButton");
|
|
/**
|
|
* {@docCategory Button}
|
|
*/
|
|
var PrimaryButton = /** @class */ (function (_super) {
|
|
tslib_1.__extends(PrimaryButton, _super);
|
|
function PrimaryButton() {
|
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
}
|
|
PrimaryButton.prototype.render = function () {
|
|
return React.createElement(DefaultButton_1.DefaultButton, tslib_1.__assign({}, this.props, { primary: true, onRenderDescription: Utilities_1.nullRender }));
|
|
};
|
|
PrimaryButton = tslib_1.__decorate([
|
|
(0, Utilities_1.customizable)('PrimaryButton', ['theme', 'styles'], true)
|
|
], PrimaryButton);
|
|
return PrimaryButton;
|
|
}(React.Component));
|
|
exports.PrimaryButton = PrimaryButton;
|
|
//# sourceMappingURL=PrimaryButton.js.map
|