UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

21 lines (19 loc) 1.12 kB
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Button", "office-ui-fabric-react/lib/Label"], function (require, exports, tslib_1, React, Button_1, Label_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ButtonIconExample = (function (_super) { tslib_1.__extends(ButtonIconExample, _super); function ButtonIconExample() { return _super.call(this) || this; } ButtonIconExample.prototype.render = function () { var _a = this.props, disabled = _a.disabled, checked = _a.checked; return (React.createElement("div", { className: 'ms-BasicButtonsExample' }, React.createElement(Label_1.Label, null, "Icon button"), React.createElement(Button_1.IconButton, { disabled: disabled, checked: checked, iconProps: { iconName: 'Emoji2' }, title: 'Emoji', ariaLabel: 'Emoji' }))); }; return ButtonIconExample; }(React.Component)); exports.ButtonIconExample = ButtonIconExample; }); //# sourceMappingURL=Button.Icon.Example.js.map