TableFormatterInputs<T>
Interface
Type parameters
Name | Type |
---|---|
T | extends TableFormatterInputValues = TableFormatterInputValues |
Properties
prevValues
Optionaloptional 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>
priceFormatter
Optionalstandard formatter for price. You can use format(price)
method to prepare price value.
Type
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