import * as React from 'react';
import { CommandButton } from 'office-ui-fabric-react';
var menuProps = {
    items: [
        {
            key: 'emailMessage',
            text: 'Email message',
            iconProps: { iconName: 'Mail' }
        },
        {
            key: 'calendarEvent',
            text: 'Calendar event',
            iconProps: { iconName: 'Calendar' }
        }
    ]
    // By default, the menu will be focused when it opens. Uncomment the next line to prevent this.
    // shouldFocusOnMount: false
};
var addIcon = { iconName: 'Add' };
export var ButtonCommandExample = function (props) {
    var disabled = props.disabled, checked = props.checked;
    return React.createElement(CommandButton, { iconProps: addIcon, text: "New item", menuProps: menuProps, disabled: disabled, checked: checked });
};
//# sourceMappingURL=Button.Command.Example.js.map