Skip to content

API Reference / @gtkx/components / ListViewDeclarativeProps

Type Alias: ListViewDeclarativeProps<T, S>

ListViewDeclarativeProps<T, S> = CollectionItemSizeProps & ControlledSelectionProps & ControlledExpansionProps & object

Defined in: list-view.d.ts:4

Type Declaration

items?

optional items?: ItemNode<T>[]

renderHeader?

optional renderHeader?: ((info) => ReactNode) | null

renderItem

renderItem: (props) => ReactNode

Parameters

props

RenderItemProps<T>

Returns

ReactNode

sections?

optional sections?: SectionNode<S, T>[]

Type Parameters

T

T = unknown

S

S = unknown

Released under the MPL-2.0 License.