Reference home > @af-utils/virtual-react > List

List() function

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

Signature:

List: <C extends ElementType = "div">(props: ListProps<C> & Omit<ComponentProps<C>, "children" | "ref">) => import("react/jsx-runtime").JSX.Element

Parameters

Parameter

Type

Description

props

ListProps<C> & Omit<ComponentProps<C>, “children” | “ref”>

Returns

import(“react/jsx-runtime”).JSX.Element