SortState: { column: string; direction: SortDirection }

The active sort of a table: which column, which way.

Type declaration

  • column: string

    The column key from the header's data-hl-sort attribute (or its index).

  • direction: SortDirection