The type of items in the array
The JSX element type returned by the render function
Render function that receives each item and its index
Array of items to render
Optional
key?: (item: T, index: number) => anyOptional key function for efficient updates (uses lit-html's repeat directive)
Optional
separator?: unknownOptional JSX element to insert between items
An iterator from either the map or repeat directive, depending on whether a key function is provided.
Renders a list of items with optional keys and separators.