define(["require", "exports", "react", "@fluentui/examples/lib/office-ui-fabric-react/Keytip/KeytipSetup", "office-ui-fabric-react/lib/Checkbox", "office-ui-fabric-react/lib/ComboBox", "office-ui-fabric-react/lib/Dropdown", "office-ui-fabric-react/lib/Link", "office-ui-fabric-react/lib/SpinButton", "office-ui-fabric-react/lib/Toggle", "office-ui-fabric-react/lib/Pivot", "office-ui-fabric-react/lib/Stack"], function (require, exports, React, KeytipSetup_1, Checkbox_1, ComboBox_1, Dropdown_1, Link_1, SpinButton_1, Toggle_1, Pivot_1, Stack_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var pivotItemStyle = { width: 500, paddingTop: 20 };
    var stackTokens = { childrenGap: 20 };
    var spinButtonStyles = { root: { maxWidth: 200 } };
    var sampleOptions = [
        { key: 'A', text: 'Option 1' },
        { key: 'B', text: 'Option 2' },
        { key: 'C', text: 'Option 3' },
    ];
    exports.KeytipsBasicExample = function () { return (React.createElement("div", null,
        React.createElement("p", null, "For Pivots, keytips will first show for each of the pivots. After selecting a pivot, the Keytips for its content are shown."),
        React.createElement(Pivot_1.Pivot, null,
            React.createElement(Pivot_1.PivotItem, { headerText: "Pivot 1", keytipProps: KeytipSetup_1.keytipMap.Pivot1Keytip, style: pivotItemStyle },
                React.createElement(Stack_1.Stack, { tokens: stackTokens },
                    React.createElement(SpinButton_1.SpinButton, { label: "Spin Button", keytipProps: KeytipSetup_1.keytipMap.SpinButtonKeytip, styles: spinButtonStyles }),
                    React.createElement(Toggle_1.Toggle, { onText: "Yes", offText: "No", keytipProps: KeytipSetup_1.keytipMap.ToggleKeytip }),
                    React.createElement("span", null,
                        "Go to",
                        ' ',
                        React.createElement(Link_1.Link, { keytipProps: KeytipSetup_1.keytipMap.LinkKeytip, href: "http://www.bing.com", target: "_blank" }, "Bing")))),
            React.createElement(Pivot_1.PivotItem, { headerText: "Pivot 2", keytipProps: KeytipSetup_1.keytipMap.Pivot2Keytip, style: pivotItemStyle },
                React.createElement(Stack_1.Stack, { tokens: stackTokens },
                    React.createElement(Checkbox_1.Checkbox, { label: "Checkbox", keytipProps: KeytipSetup_1.keytipMap.CheckboxKeytip }),
                    React.createElement(Dropdown_1.Dropdown, { label: "Dropdown", keytipProps: KeytipSetup_1.keytipMap.DropdownKeytip, options: sampleOptions }))),
            React.createElement(Pivot_1.PivotItem, { headerText: "Pivot 3", keytipProps: KeytipSetup_1.keytipMap.Pivot3Keytip, style: pivotItemStyle },
                React.createElement(ComboBox_1.ComboBox, { label: "Combo Box", keytipProps: KeytipSetup_1.keytipMap.ComboBoxKeytip, options: sampleOptions }))))); };
});
//# sourceMappingURL=Keytips.Basic.Example.js.map