define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Button"], function (require, exports, tslib_1, React, Button_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var ButtonContextualMenuExample = /** @class */ (function (_super) {
        tslib_1.__extends(ButtonContextualMenuExample, _super);
        function ButtonContextualMenuExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        ButtonContextualMenuExample.prototype.render = function () {
            var _a = this.props, disabled = _a.disabled, checked = _a.checked;
            return (React.createElement("div", { className: 'ms-ContextualMenuButtonsExample' },
                React.createElement("div", null,
                    React.createElement(Button_1.DefaultButton, { "data-automation-id": 'test', disabled: disabled, checked: checked, iconProps: { iconName: 'Add' }, text: 'New', menuProps: {
                            items: [
                                {
                                    key: 'emailMessage',
                                    name: 'Email message',
                                    icon: 'Mail'
                                },
                                {
                                    key: 'calendarEvent',
                                    name: 'Calendar event',
                                    icon: 'Calendar'
                                }
                            ]
                        } }))));
        };
        return ButtonContextualMenuExample;
    }(React.Component));
    exports.ButtonContextualMenuExample = ButtonContextualMenuExample;
});
//# sourceMappingURL=Button.ContextualMenu.Example.js.map