Interface UseSortByColumnProps<D>

Type Parameters

  • D extends object

Hierarchy

Properties

canSort: boolean
clearSortBy: (() => void)

Type declaration

    • (): void
    • Returns void

getSortByToggleProps: ((props?: Partial<TableSortByToggleProps>) => TableSortByToggleProps)

Type declaration

isSorted: boolean
isSortedDesc: undefined | boolean
sortedIndex: number
toggleSortBy: ((descending?: boolean, multi?: boolean) => void)

Type declaration

    • (descending?: boolean, multi?: boolean): void
    • Parameters

      • Optional descending: boolean
      • Optional multi: boolean

      Returns void

Generated using TypeDoc