Skip to content

five-on-it / apps/client/src/ui/kit/Tabs / TableProps

Interface: TableProps<R> ​

Defined in: apps/client/src/ui/kit/Tabs.tsx:99

Props of Table.

Type Parameters ​

R ​

R

Properties ​

caption ​

caption: string

Defined in: apps/client/src/ui/kit/Tabs.tsx:102

What it lists (its caption, for screen readers).


className? ​

optional className?: string

Defined in: apps/client/src/ui/kit/Tabs.tsx:109


columns ​

columns: readonly Column<R>[]

Defined in: apps/client/src/ui/kit/Tabs.tsx:103


id? ​

optional id?: string

Defined in: apps/client/src/ui/kit/Tabs.tsx:100


rowKey ​

rowKey: (row) => string

Defined in: apps/client/src/ui/kit/Tabs.tsx:106

A row's key.

Parameters ​

row ​

R

Returns ​

string


rowProps? ​

optional rowProps?: (row) => Record<string, string | boolean | undefined>

Defined in: apps/client/src/ui/kit/Tabs.tsx:108

The attributes a row carries (data-*).

Parameters ​

row ​

R

Returns ​

Record<string, string | boolean | undefined>


rows ​

rows: readonly R[]

Defined in: apps/client/src/ui/kit/Tabs.tsx:104