define(["require", "exports", "react", "@fluentui/react", "@fluentui/react/lib/Button"], function (require, exports, React, react_1, Button_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.ButtonSplitExample = void 0;
    var menuProps = {
        items: [
            {
                key: 'emailMessage',
                text: 'Email message',
                iconProps: { iconName: 'Mail' },
            },
            {
                key: 'calendarEvent',
                text: 'Calendar event',
                iconProps: { iconName: 'Calendar' },
            },
        ],
    };
    // Example formatting
    var stackTokens = { childrenGap: 40 };
    var ButtonSplitExample = function (props) {
        var disabled = props.disabled, checked = props.checked;
        return (React.createElement(react_1.Stack, { horizontal: true, wrap: true, tokens: stackTokens },
            React.createElement(Button_1.DefaultButton, { text: "Standard", split: true, splitButtonAriaLabel: "See 2 options", "aria-roledescription": "split button", menuProps: menuProps, onClick: _alertClicked, disabled: disabled, checked: checked }),
            React.createElement(Button_1.DefaultButton, { text: "Primary", primary: true, split: true, splitButtonAriaLabel: "See 2 options", "aria-roledescription": "split button", menuProps: menuProps, onClick: _alertClicked, disabled: disabled, checked: checked }),
            React.createElement(Button_1.DefaultButton, { text: "Main action disabled", primaryDisabled: true, split: true, splitButtonAriaLabel: "See 2 options", "aria-roledescription": "split button", menuProps: menuProps, onClick: _alertClicked, disabled: disabled, checked: checked }),
            React.createElement(Button_1.DefaultButton, { text: "Disabled", disabled: true, split: true, splitButtonAriaLabel: "See 2 options", "aria-roledescription": "split button", menuProps: menuProps, onClick: _alertClicked, checked: checked })));
    };
    exports.ButtonSplitExample = ButtonSplitExample;
    function _alertClicked() {
        alert('Clicked');
    }
});
//# sourceMappingURL=Button.Split.Example.js.map