Render prop for content container in VirtualScroll
Pass to VirtualScroll to render content into the viewport implementation. Function must render a div and forward VirtualContentProps and any ref to it.
ref
const contentRender: VirtualContentRender = ({isScrolling, ...rest}, ref) => ( <div ref={ref} {...rest} />) Copy
const contentRender: VirtualContentRender = ({isScrolling, ...rest}, ref) => ( <div ref={ref} {...rest} />)
Render prop for content container in VirtualScroll
Pass to VirtualScroll to render content into the viewport implementation. Function must render a div and forward VirtualContentProps and any
ref
to it.