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
/
calculateRowHeights.d.ts
6 lines
(5 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
BaseConfig
,
Row
}
from
'./types/internal'
;
/** * Produces an array of values that describe the largest value length (height) in every row. */
export
declare
const
calculateRowHeights
:
(
rows
:
Row
[],
config
:
BaseConfig
) =>
number
[];