"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useTabsState = void 0;
const react_1 = require("react");
const useTabsState = (initialAnimation, tabIndex) => {
    const [tabs, setTabs] = (0, react_1.useState)([]);
    const [activeTabIndex, setActiveTabIndex] = (0, react_1.useState)(tabIndex !== null && tabIndex !== void 0 ? tabIndex : 0);
    const [animationDirection, setAnimationDirection] = (0, react_1.useState)(initialAnimation);
    return { tabs, setTabs, activeTabIndex, setActiveTabIndex, animationDirection, setAnimationDirection };
};
exports.useTabsState = useTabsState;
//# sourceMappingURL=useTabsState.js.map