UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

17 lines 878 B
import * as tslib_1 from "tslib"; import * as React from 'react'; import { IconButton } from 'office-ui-fabric-react/lib/Button'; var ButtonIconExample = /** @class */ (function (_super) { tslib_1.__extends(ButtonIconExample, _super); function ButtonIconExample() { return _super !== null && _super.apply(this, arguments) || this; } ButtonIconExample.prototype.render = function () { var _a = this.props, disabled = _a.disabled, checked = _a.checked; return (React.createElement("div", { className: 'ms-BasicButtonsExample' }, React.createElement(IconButton, { disabled: disabled, checked: checked, iconProps: { iconName: 'Emoji2' }, title: 'Emoji', ariaLabel: 'Emoji' }))); }; return ButtonIconExample; }(React.Component)); export { ButtonIconExample }; //# sourceMappingURL=Button.Icon.Example.js.map