The initialization options for the table.

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

Type Parameters

  • T

Hierarchy

Properties

blankIndicator: (() => ReactNode)

Type declaration

    • (): ReactNode
    • Returns ReactNode

columns: IColumn<T>[]
onRowClick?: MouseEventHandler<HTMLTableRowElement>
rows: IRow<T>[]
sortDirection?: 1 | -1
sortKey?: null | string