define(["require", "exports", "react", "@fluentui/react", "@fluentui/react/lib/Button", "@fluentui/react-tabs"], function (require, exports, React, react_1, Button_1, react_tabs_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.TabsOverrideExample = void 0;
    var TabsOverrideExample = function () {
        var _a = React.useState(0), selectedKey = _a[0], setSelectedKey = _a[1];
        var onButtonClick = function () {
            setSelectedKey((selectedKey + 1) % 3);
        };
        return (React.createElement("div", null,
            React.createElement(react_tabs_1.Tabs, { "aria-label": "Override Selected Item Tabs Example", selectedKey: String(selectedKey) },
                React.createElement(react_tabs_1.TabItem, { headerText: "My Files", itemKey: "0" },
                    React.createElement(react_1.Label, null, "Tab #1")),
                React.createElement(react_tabs_1.TabItem, { headerText: "Recent", itemKey: "1" },
                    React.createElement(react_1.Label, null, "Tab #2")),
                React.createElement(react_tabs_1.TabItem, { headerText: "Shared with me", itemKey: "2" },
                    React.createElement(react_1.Label, null, "Tab #3"))),
            React.createElement(Button_1.DefaultButton, { onClick: onButtonClick }, "Select next item")));
    };
    exports.TabsOverrideExample = TabsOverrideExample;
});
//# sourceMappingURL=Tabs.Override.Example.js.map