UNPKG

@fluentui/react

Version:

Reusable React components for building web experiences.

21 lines 855 B
import { __assign, __decorate, __extends } from "tslib"; import * as React from 'react'; import { customizable, nullRender } from '../../../Utilities'; import { DefaultButton } from '../DefaultButton/DefaultButton'; /** * {@docCategory Button} */ export var PrimaryButton = /** @class */ (function (_super) { __extends(PrimaryButton, _super); function PrimaryButton() { return _super !== null && _super.apply(this, arguments) || this; } PrimaryButton.prototype.render = function () { return React.createElement(DefaultButton, __assign({}, this.props, { primary: true, onRenderDescription: nullRender })); }; PrimaryButton = __decorate([ customizable('PrimaryButton', ['theme', 'styles'], true) ], PrimaryButton); return PrimaryButton; }(React.Component)); //# sourceMappingURL=PrimaryButton.js.map