From f56051d04ba7c55ce5a7fe4cf48e988c6d188f15 Mon Sep 17 00:00:00 2001 From: abrahambotros Date: Tue, 12 Sep 2017 10:56:54 -0700 Subject: [PATCH] [react-native] Add VirtualizedList onLayout event data --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 2137b35edd..3f2ba75585 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3921,7 +3921,7 @@ export interface VirtualizedListProperties extends ScrollViewProperties { onEndReachedThreshold?: number | null - onLayout?: () => void + onLayout?: (event: LayoutChangeEvent) => void; /** * If provided, a standard RefreshControl will be added for "Pull to Refresh" functionality. Make