@timlassiter11/yatl
    Preparing search index...

    Type Alias CellPartsCallback<T>

    CellPartsCallback: (
        value: unknown,
        field: NestedKeyOf<T>,
        row: T,
    ) => string | string[] | undefined

    Callback for conditionally adding classes to a cell

    Type Parameters

    Type Declaration

      • (value: unknown, field: NestedKeyOf<T>, row: T): string | string[] | undefined
      • Parameters

        • value: unknown

          The value of the cell.

        • field: NestedKeyOf<T>

          The field of the column.

        • row: T

          The row data.

        Returns string | string[] | undefined