The React Virtuoso component accepts the standard set of HTML attributes and passes them to the root scrollable DOM div.
You can use this to customize the styling and to bind to DOM events like
onScroll. If you want to customize the wrapper further, you can pass a custom component as
List with custom styling
The example below changes the scroller element with a custom component. This approach is useful for integrating the component with a custom scroller library.