office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
17 lines • 892 B
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ActionButton } from 'office-ui-fabric-react/lib/Button';
var ButtonActionExample = /** @class */ (function (_super) {
tslib_1.__extends(ButtonActionExample, _super);
function ButtonActionExample(props) {
return _super.call(this, props) || this;
}
ButtonActionExample.prototype.render = function () {
var _a = this.props, disabled = _a.disabled, checked = _a.checked;
return (React.createElement("div", { className: 'ms-BasicButtonsExample' },
React.createElement(ActionButton, { "data-automation-id": 'test', iconProps: { iconName: 'AddFriend' }, disabled: disabled, checked: checked }, "Create account")));
};
return ButtonActionExample;
}(React.Component));
export { ButtonActionExample };
//# sourceMappingURL=Button.Action.Example.js.map