VirtualContainerRender: ((props: VirtualContainerRenderProps, ref?: React.ForwardedRef<HTMLDivElement>) => JSX.Element)

Render prop for a VirtualContainer

Can be passed to VirtualContainer to replace default implementation. Function must render a div and forward VirtualContainerRenderProps and any ref to it.

const containerRender: VirtualContainerRender = ({...rest}, ref) => (
<div ref={ref} {...rest} />
)