Skip to content

API Reference / @gtkx/components / index / ListSection

Type Alias: ListSection<S, T> ​

ListSection<S, T> = object

Defined in: types.d.ts:23

A group of items rendered under a shared section header.

Type Parameters ​

S ​

S = unknown

T ​

T = unknown

Properties ​

data ​

data: ListItem<T>[]

Defined in: types.d.ts:29

Items belonging to this section.


id ​

id: string

Defined in: types.d.ts:25

Stable identifier used to track the section across updates.


value ​

value: S

Defined in: types.d.ts:27

Payload handed to the section header renderer as ListSectionRenderArgs.section.