define(["require", "exports", "react", "office-ui-fabric-react", "@fluentui/react-tabs"], function (require, exports, React, office_ui_fabric_react_1, react_tabs_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.PivotOverrideExample = function () {
        var _a = React.useState(0), selectedKey = _a[0], setSelectedKey = _a[1];
        var DefaultButtonOnClick = function () {
            setSelectedKey((selectedKey + 1) % 3);
        };
        return (React.createElement("div", null,
            React.createElement(react_tabs_1.Pivot, { "aria-label": "Override Selected Item Pivot Example", selectedKey: String(selectedKey) },
                React.createElement(react_tabs_1.PivotItem, { headerText: "My Files", itemKey: "0" },
                    React.createElement(office_ui_fabric_react_1.Label, null, "Pivot #1")),
                React.createElement(react_tabs_1.PivotItem, { headerText: "Recent", itemKey: "1" },
                    React.createElement(office_ui_fabric_react_1.Label, null, "Pivot #2")),
                React.createElement(react_tabs_1.PivotItem, { headerText: "Shared with me", itemKey: "2" },
                    React.createElement(office_ui_fabric_react_1.Label, null, "Pivot #3"))),
            React.createElement(office_ui_fabric_react_1.DefaultButton, { onClick: DefaultButtonOnClick }, "Select next item")));
    };
});
//# sourceMappingURL=Pivot.Override.Example.js.map