Skip to main content

TableFormatterInputs<T>

Interface

Type parameters

NameType
Textends TableFormatterInputValues = TableFormatterInputValues

Properties

prevValues

Optional

Optional field. It is array of previous values so you can compare and format accordingly. It exists if current column has the highlightDiff: true key.

Type

Partial<T extends [...args: A[]] ? [...A[]] : never>


values

Array of values to be formatted. Values are obtained by extracting dependent properties from the data object.

Type

T extends [...args: A[]] ? [...A[]] : never