Custom ref handle returned by VirtualList that exposes imperative methods

Use React.useRef<VirtualListProxy>(null) to create a ref.

interface VirtualListProxy {
    scrollTo(offset: number): void;
    scrollToItem(index: number): void;
}

Methods