Reference home > @af-utils/virtual-react > ListProps

ListProps interface

List() component props

Signature:

export interface ListProps<C extends ElementType = "div"> 

Properties

Property

Modifiers

Type

Description

children

ElementType<ListItemProps>

component?

C

(Optional)

footer?

JSX.Element | null

(Optional)

getKey?

(index: number, itemData: any) => string | number

(Optional)

header?

JSX.Element | null

(Optional)

itemData?

any

(Optional) could be accessed in ListItemProps.data

model

VirtualScroller