"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useAdaptableColumn = useAdaptableColumn;
const AdaptableContext_1 = require("../../View/AdaptableContext");
function useAdaptableColumn(columnId) {
    const api = (0, AdaptableContext_1.useAdaptable)().api;
    const column = api.columnApi.getColumnWithColumnId(columnId);
    return column;
}
