Props that an implementation of VirtualOuterComponent must accept.

interface VirtualOuterProps {
    children: ReactNode;
    className: undefined | string;
    onScroll: ((event: ScrollEvent) => void);
    style: CSSProperties;
}

Properties

children: ReactNode

An instance of VirtualInnerComponent that should be rendered into the outer container div

className: undefined | string

The className to apply to the outer container div. Passed through from VirtualBaseProps.className

onScroll: ((event: ScrollEvent) => void)

Scroll callback that should be applied to the outer container div

style: CSSProperties

Style to apply to the outer container div