From 5195d9dbbc4cb946928b1c52aeba0384f8b543a3 Mon Sep 17 00:00:00 2001 From: Matt Sessions Date: Mon, 18 Dec 2017 11:56:25 -0700 Subject: [PATCH] SectionList renderItem should be optional --- Libraries/Lists/SectionList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Lists/SectionList.js b/Libraries/Lists/SectionList.js index 775685131d6e..f547066f129b 100644 --- a/Libraries/Lists/SectionList.js +++ b/Libraries/Lists/SectionList.js @@ -71,7 +71,7 @@ type OptionalProps> = { /** * Default renderer for every item in every section. Can be over-ridden on a per-section basis. */ - renderItem: (info: { + renderItem?: (info: { item: Item, index: number, section: SectionT,