Skip to main content

StaticProps<T>

StaticProps<T> = object

Type Parameters

Type Parameter

T

Properties

PropertyModifierTypeDescription

children

readonly

(item, index) => ReactNode

Function that is called to render every item in items array. First argument is an item itself and second argument is index of that item in items array. Note that key must be assigned to the root component.

items

readonly

T[]

Array of items of any type to render using a function you pass as a component child.

style?

readonly

Styles

Styles to apply to a container of child elements. See for supported properties.