import { useMemo } from "react";
import { getEditableTableColWidths } from "./editableTableWidth";
export function useEditableTableColWidths(param) {
    var readonly = param.readonly, columnCount = param.columnCount, availableTableWidth = param.availableTableWidth, mobileBreakpointValue = param.mobileBreakpointValue, element = param.element;
    return useMemo(function() {
        return getEditableTableColWidths({
            readonly: readonly,
            columnCount: columnCount,
            availableTableWidth: availableTableWidth,
            mobileBreakpointValue: mobileBreakpointValue,
            element: element
        });
    }, [
        readonly,
        columnCount,
        availableTableWidth,
        mobileBreakpointValue,
        element
    ]);
}
