"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useAdaptableOptions = void 0;
const AdaptableContext_1 = require("../../View/AdaptableContext");
const useAdaptableOptions = (fn) => {
    const adaptableOptions = (0, AdaptableContext_1.useAdaptable)().adaptableOptions;
    return fn ? fn(adaptableOptions) : adaptableOptions;
};
exports.useAdaptableOptions = useAdaptableOptions;
