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

Render prop for outer container in a virtual scrolling component

Can be passed to VirtualList or VirtualGrid to replace default implementation. Function must render a div and forward VirtualOuterProps and any ref to it.

const outerRender: VirtualOuterRender = ({style, ...rest}, ref) => (
<div ref={ref} {...rest} />
)