Skip to content

Home > @liquidrazor/list-display > TableProps

TableProps interface

Props for the table slot responsible for rendering the visible rows.

Signature:

typescript
export interface TableProps

Properties

Property

Modifiers

Type

Description

fields

Array<FieldSchema<any>>

Field schema definitions used to map row values to columns.

idKey

string

Identifier key to extract a stable row id from each record.

onRowActionClick?

(actionId: string, rowIndex: number) => void

(Optional) Callback fired when a row action is selected.

rowActions?

Array<RowAction<any, any>>

(Optional) Optional row-level actions.

state

ListState<any>

Current list state containing the rows to render.