import * as tslib_1 from "tslib";
import * as React from 'react';
import { CommandButton } from 'office-ui-fabric-react/lib/Button';
var ButtonCommandExample = /** @class */ (function (_super) {
    tslib_1.__extends(ButtonCommandExample, _super);
    function ButtonCommandExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ButtonCommandExample.prototype.render = function () {
        var _a = this.props, disabled = _a.disabled, checked = _a.checked;
        return (React.createElement("div", null,
            React.createElement("div", { style: { display: 'flex', alignItems: 'stretch', height: '40px' } },
                React.createElement(CommandButton, { "data-automation-id": 'test', disabled: disabled, checked: checked, iconProps: { iconName: 'Add' }, text: 'Create account', menuProps: {
                        items: [
                            {
                                key: 'emailMessage',
                                name: 'Email message',
                                iconProps: { iconName: 'Mail' }
                            },
                            {
                                key: 'calendarEvent',
                                name: 'Calendar event',
                                iconProps: { iconName: 'Calendar' }
                            }
                        ]
                    } }),
                React.createElement(CommandButton, { "data-automation-id": 'test2', disabled: disabled, checked: checked, iconProps: { iconName: 'Mail' }, text: 'Send Mail' }))));
    };
    return ButtonCommandExample;
}(React.Component));
export { ButtonCommandExample };
//# sourceMappingURL=Button.Command.Example.js.map