Homecomponentscontrol-flow
For
A control-flow to repeat over a list of items.
Alpha
This component is in development. There could be breaking changes made to it in a non-major release of Prism. Please use with caution.Use For to iterate over a list.
Fallback
Use the fallback property to render a fallback component if the list is empty.
No items
API
each
Required
readonly T[]
children
Required
(item: T, index: number) => U
fallback
Element