component@af-utils/virtual-react
On this page

VirtualList

function VirtualList<Data, C>(props): Element;

React component. Small abstraction, which in 90% cases allows to avoid hook boilerplate.

Type Parameters

Data

Data = unknown

C

C extends ElementType = "div"

Parameters

props

ListProps<C, Data> & Omit<ComponentProps<C>, "children" | "ref">

Returns

Element