Function implementing VirtualContentRender that renders the content that needs to respond to scrolling
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
innerRender prop implementing VirtualContainerRender. Used to customize VirtualScroll inner container.
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 VirtualScrollableProps.maxCssSize big. You should never normally need to change this.
Optional
onCallback after a scroll event has been processed and state updated but before rendering
Resulting overall vertical offset.
Resulting overall horizontal offset.
New vertical ScrollState that will be used for rendering.
New horizontal ScrollState that will be used for rendering.
Optional
outerRender prop implementing VirtualContainerRender. Used to customize VirtualScroll outer container.
Optional
scrollHeight of area to scroll over
Optional
scrollWidth of area to scroll over
Optional
useDetermines whether the component should track whether it's being actively scrolled and pass through when rendering its content.
Optional
useDetermines whether the component should pass verticalOffset and horizontalOffset to children when rendering.
Can reduce the number of renders needed if these props aren't used
Component width
Props accepted by VirtualScroll