Component used as a template to render items in the list. Must implement DisplayListItem interface.
Optional
classThe className
applied to the outer container element. Use when styling the entire component.
Component height
Optional
innerThe className
applied to the inner container element. Use for special cases when styling only the inner container and items.
Optional
innerRenders the inner grid div containing all the list items
Render prop implementing VirtualContainerRender. Used to customize display component inner container.
Optional
isPassed as DisplayBaseItemProps.isScrolling to each child item
Provided as a convenience when combining display components with VirtualScroll Not interpreted by the display component itself
Number of items in the list
Optional
itemPassed as DisplayBaseItemProps.data to each child item
Optional
itemFunction that defines the key to use for each item given item index and value of DisplayBaseProps.itemData.
Implementation of ItemOffsetMapping interface that defines size and offset to each item in the list
Use useFixedSizeItemOffsetMapping or useVariableSizeItemOffsetMapping to create implementations for common cases.
Optional
layoutChoice of 'vertical' or 'horizontal' layouts
Offset to start of displayed content
Optional
outerRenders the outer viewport div which provides a window onto the inner grid div
Render prop implementing VirtualContainerRender. Used to customize display component outer container.
Component width
Props accepted by DisplayList