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

Render prop for inner container in a virtual scrolling component

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

const innerRender: VirtualInnerRender = ({...rest}, ref) => (
<div ref={ref} {...rest} />
)