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
itemPassed as VirtualBaseItemProps.data to each child item
Optional
maxMaximum size for CSS element beyond which layout breaks. You should never normally need to change this. The default value is compatible with all major browsers.
Optional
minThe minimum number of virtual pages to use when inner container would otherwise be more than VirtualBaseProps.maxCssSize big. You should never normally need to change this.
Optional
useDetermines whether the component should track whether it's being actively scrolled and pass to child items as VirtualBaseItemProps.isScrolling.
Component width
Common props for VirtualList and VirtualGrid