ListProps<C, Data>
VirtualList component props.
Type Parameters
C
C extends ElementType = "div"
Data
Data = unknown
Properties
children
children: ComponentType<ListItemProps<Data>>;component?
optional component?: C;footer?
optional footer?:
| ReactElement<unknown, string | JSXElementConstructor<any>>
| null;getItemKey?
optional getItemKey?: (index) => string | number;Resolve stable item identities after records change index.
Parameters
index
number
Returns
string | number
header?
optional header?:
| ReactElement<unknown, string | JSXElementConstructor<any>>
| null;itemData?
optional itemData?: Data;could be accessed in ListItemProps.data
model
model: VirtualScroller;