From 90f2a64b4703aaefa39a9f0117f8996704b3a431 Mon Sep 17 00:00:00 2001 From: aravi365 Date: Fri, 31 Jul 2026 16:39:49 +0530 Subject: [PATCH] Document ListItemComponent prop on FlatList FlatList supports ListItemComponent (it takes precedence over renderItem), and it is documented on the VirtualizedList page, but the FlatList page lists every other inherited List*Component prop except this one. --- docs/flatlist.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/flatlist.md b/docs/flatlist.md index 7bc9884fa34..d37ed6dc0b6 100644 --- a/docs/flatlist.md +++ b/docs/flatlist.md @@ -484,6 +484,16 @@ Styling for internal View for `ListHeaderComponent`. --- +### `ListItemComponent` + +Each data item is rendered using this element, as an alternative to `renderItem`. It receives the same props, and takes precedence over `renderItem` when both are provided. + +| Type | +| ------------------ | +| component, element | + +--- + ### `columnWrapperStyle` Optional custom style for multi-item rows generated when `numColumns > 1`.