The React Virtuoso component renders as several nested
DIV elements. The default values in the
component prop entries are
To change what's rendered, pass your component to the specified key in
components. Notice that the
List component needs to accept and pass its
ref to the actual DOM element.
The example below adds borders to each customizable element.
The types for each component are available in the
Components interface. The example below annotates the
Scroller custom component: