mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
react-native: Param added to ScrollView onScroll
This commit is contained in:
2
react-native/react-native.d.ts
vendored
2
react-native/react-native.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user