"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useSecondaryActionsMenu = void 0;
const react_1 = require("react");
const SecondaryActionsMenuContext_1 = require("./SecondaryActionsMenuContext");
/**
 * Хук для получения состояния меню вторичных действий
 *
 * @returns Состояние меню (open, anchorEl)
 */
const useSecondaryActionsMenu = () => {
    return (0, react_1.useContext)(SecondaryActionsMenuContext_1.SecondaryActionsMenuContext);
};
exports.useSecondaryActionsMenu = useSecondaryActionsMenu;
