"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "useTab", {
    enumerable: true,
    get: function() {
        return useTab;
    }
});
const _react = require("react");
const _tabContext = require("./tabContext");
const useTab = ()=>{
    const { toggleContentVisible, contentVisible } = (0, _react.useContext)(_tabContext.TabContext);
    return {
        toggleContentVisible,
        visible: contentVisible
    };
};

//# sourceMappingURL=tabHook.js.map