From b34498d6a1f10dc8a09154ea2442121da2b1f5de Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Mon, 3 Mar 2025 15:54:20 +0100 Subject: [PATCH] Use record for separatorComponentProps --- src/components/VirtualizedList.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VirtualizedList.res b/src/components/VirtualizedList.res index 98bf522f..089bd9a7 100644 --- a/src/components/VirtualizedList.res +++ b/src/components/VirtualizedList.res @@ -40,7 +40,7 @@ type onScrollToIndexFailedParams = { averageItemLength: float, } -type separatorComponentProps<'item> = {"highlighted": bool, "leadingItem": option<'item>} +type separatorComponentProps<'item> = {highlighted: bool, leadingItem: option<'item>} type viewabilityConfig = { minimumViewTime?: float,