From 67b4a67acdf6d2ee2c5774cf3311df152b3af34a Mon Sep 17 00:00:00 2001 From: Brandon Kase Date: Thu, 28 Jan 2016 18:02:59 -0800 Subject: [PATCH] react-native: Param added to ScrollView onScroll --- react-native/react-native.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native/react-native.d.ts b/react-native/react-native.d.ts index 1ffa1d5461..b3fa3e3cc4 100644 --- a/react-native/react-native.d.ts +++ b/react-native/react-native.d.ts @@ -2712,7 +2712,7 @@ declare namespace __React { * Fires at most once per frame during scrolling. * The frequency of the events can be contolled using the scrollEventThrottle prop. */ - onScroll?: () => void + onScroll?: (event?: { nativeEvent: NativeScrollEvent }) => void /** * Experimental: When true offscreen child views (whose `overflow` value is