UNPKG
@zkochan/table
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.1
1.0.0
Formats data into a string table.
github.com/gajus/table
gajus/table
@zkochan/table
/
dist
/
src
/
calculateCellHeight.d.ts
5 lines
(4 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
/** * Calculates height of cell content in regard to its width and word wrapping. */
export
declare
const
calculateCellHeight
:
(
value
:
string
,
columnWidth
:
number
,
useWrapWord
?:
boolean
) =>
number
;