Interface SortControlsProps

Hierarchy

  • SortControlsProps

Properties

Properties

onClick: ((direction: SortDirection) => void)

Type declaration

    • (direction: SortDirection): void
    • Handler of the sorting buttons. It receives the sorting direction corresponding to the option activated by the user.

      Parameters

      Returns void

sortDirection?: SortDirection

Current sort direction. When undefined, both buttons will be dimmed to indicate that the table is not sorted by the current column.

Generated using TypeDoc