import * as React from 'react';
import { DefaultButton } from 'office-ui-fabric-react/lib/Button';
import { FocusZone, FocusZoneDirection } from 'office-ui-fabric-react/lib/FocusZone';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import './FocusZone.Tabbable.Example.scss';
var alertClicked = function () {
    alert('Clicked');
};
export var FocusZoneTabbableExample = function () { return (React.createElement("div", { className: 'ms-FocusZoneTabbableExample' },
    React.createElement("div", { className: 'ms-Row' },
        React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal, handleTabKey: 1 /* all */, isCircularNavigation: true },
            React.createElement("span", null, "Circular Tabbable FocusZone: "),
            React.createElement(DefaultButton, null, "Button 1"),
            React.createElement(DefaultButton, null, "Button 2"),
            React.createElement(TextField, { value: 'FocusZone TextField', className: 'ms-FocusZoneTabbableExample-textField' }),
            React.createElement(DefaultButton, null, "Button 3"),
            React.createElement(DefaultButton, { text: 'Create account', split: true, onClick: alertClicked, splitButtonAriaLabel: 'See 2 sample options', menuProps: {
                    items: [
                        {
                            key: 'emailMessage',
                            name: 'Email message',
                            iconProps: { iconName: 'Mail' }
                        },
                        {
                            key: 'calendarEvent',
                            name: 'Calendar event',
                            iconProps: { iconName: 'Calendar' }
                        }
                    ]
                } }))),
    React.createElement("div", { className: 'ms-Row' },
        React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal, handleTabKey: 2 /* inputOnly */, isCircularNavigation: false },
            React.createElement("span", null, "Input Only FocusZone: "),
            React.createElement(DefaultButton, null, "Button 1"),
            React.createElement(DefaultButton, null, "Button 2"),
            React.createElement(TextField, { value: 'FocusZone TextField', className: 'ms-FocusZoneTabbableExample-textField' }),
            React.createElement(DefaultButton, null, "Button 3"))))); };
//# sourceMappingURL=FocusZone.Tabbable.Example.js.map