react-native: Param added to ScrollView onScroll

This commit is contained in:
Brandon Kase
2016-01-28 18:02:59 -08:00
parent 86dbea8fc3
commit 67b4a67acd

View File

@@ -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