import * as React from 'react';
import { Label } from '@fluentui/react';
import { DefaultButton } from '@fluentui/react/lib/Button';
import { Tabs, TabItem } from '@fluentui/react-tabs';
export 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(Tabs, { "aria-label": "Override Selected Item Tabs Example", selectedKey: String(selectedKey) },
            React.createElement(TabItem, { headerText: "My Files", itemKey: "0" },
                React.createElement(Label, null, "Tab #1")),
            React.createElement(TabItem, { headerText: "Recent", itemKey: "1" },
                React.createElement(Label, null, "Tab #2")),
            React.createElement(TabItem, { headerText: "Shared with me", itemKey: "2" },
                React.createElement(Label, null, "Tab #3"))),
        React.createElement(DefaultButton, { onClick: onButtonClick }, "Select next item")));
};
//# sourceMappingURL=Tabs.Override.Example.js.map