"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useLogic = void 0;
const react_1 = require("react");
const getFormatDisabledItems_1 = require("../../utils/getFormatDisabledItems");
const useLogic = ({ disabledItems }) => {
    const formattedDisabledItems = (0, react_1.useMemo)(() => (0, getFormatDisabledItems_1.getFormatDisabledItems)(disabledItems), [disabledItems]);
    return {
        formattedDisabledItems,
    };
};
exports.useLogic = useLogic;
