UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

23 lines (22 loc) 1.18 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 ButtonCompoundExample = (function (_super) { __extends(ButtonCompoundExample, _super); function ButtonCompoundExample() { _super.call(this); } ButtonCompoundExample.prototype.render = function () { var isDisabled = this.props.isDisabled; return (React.createElement("div", {className: 'ms-BasicButtonsExample'}, React.createElement(index_1.Label, null, "Compound button"), React.createElement(index_1.Button, {disabled: isDisabled, buttonType: index_1.ButtonType.compound, description: 'You can create a new account here.'}, "Create account"))); }; return ButtonCompoundExample; }(React.Component)); exports.ButtonCompoundExample = ButtonCompoundExample; });