Render prop for content in VirtualScroll
Pass as child to VirtualScroll to render content and forward VirtualContentProps to whatever needs them.
Optional
const contentRender: VirtualContentRender = ({isScrolling, verticalOffset, horizontalOffset}) => ( <DisplayGrid isScrolling={isScrolling} rowOffset={verticalOffset} columnOffset={horizontalOffset} {...rest}/>) Copy
const contentRender: VirtualContentRender = ({isScrolling, verticalOffset, horizontalOffset}) => ( <DisplayGrid isScrolling={isScrolling} rowOffset={verticalOffset} columnOffset={horizontalOffset} {...rest}/>)
Render prop for content in VirtualScroll
Pass as child to VirtualScroll to render content and forward VirtualContentProps to whatever needs them.