The initialization options for the table.

interface IOptions<T> {
    blankIndicator: () => ReactNode;
    columns: Table.IColumn<T>[];
    onRowClick?: MouseEventHandler<HTMLTableRowElement>;
    rows: IRow<T>[];
    sortDirection?: 1 | -1;
    sortKey?: null | string;
}

Type Parameters

  • T

Hierarchy

Properties

blankIndicator: () => ReactNode
columns: Table.IColumn<T>[]
onRowClick?: MouseEventHandler<HTMLTableRowElement>
rows: IRow<T>[]
sortDirection?: 1 | -1
sortKey?: null | string