VirtualOuterComponent: React.ComponentType<VirtualOuterProps>

Type of outer container in a virtual scrolling component

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

const Outer = React.forwardRef<HTMLDivElement, VirtualOuterProps >(({...rest}, ref) => (
<div ref={ref} {...rest} />
)