UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

25 lines (23 loc) 1.16 kB
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; define(["require", "exports", "react", "../../../../index"], function (require, exports, React, index_1) { "use strict"; var ButtonHeroExample = (function (_super) { __extends(ButtonHeroExample, _super); function ButtonHeroExample() { return _super.call(this) || this; } ButtonHeroExample.prototype.render = function () { var disabled = this.props.disabled; return (React.createElement("div", { className: 'ms-BasicButtonsExample' }, React.createElement(index_1.Label, null, "Hero button"), React.createElement(index_1.Button, { disabled: disabled, buttonType: index_1.ButtonType.hero, icon: 'Add' }, "Create account"))); }; return ButtonHeroExample; }(React.Component)); exports.ButtonHeroExample = ButtonHeroExample; }); //# sourceMappingURL=Button.Hero.Example.js.map