Skip to main content

Type alias: ItemContent<Data, Context>

Ƭ ItemContent<Data, Context>: React.ComponentType<{ index: number ; data: Data ; prevData: Data | null ; nextData: Data | null ; context: Context }>

A React component that's used to render the individual item.

Type parameters

NameType
Dataany
Contextany