2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.calculateCellHeight = void 0;
4 const wrapCell_1 = require("./wrapCell");
6 * Calculates height of cell content in regard to its width and word wrapping.
8 const calculateCellHeight = (value, columnWidth, useWrapWord = false) => {
9 return (0, wrapCell_1.wrapCell)(value, columnWidth, useWrapWord).length;
11 exports.calculateCellHeight = calculateCellHeight;
12 //# sourceMappingURL=calculateCellHeight.js.map