Add missing onMomentum* properties to ScrollView. (#13732)

Added missing definitions for onMomentumScrollBegin & onMomentumScrollEnd.
This commit is contained in:
Josh Hargreaves
2017-01-04 17:07:44 +00:00
committed by Andy
parent 44422f775b
commit e8088fd229

View File

@@ -5634,6 +5634,16 @@ declare module "react" {
* Fires when a user has finished scrolling.
*/
onScrollEndDrag?: (event?: NativeSyntheticEvent<NativeScrollEvent>) => void
/**
* Fires when scroll view has finished moving
*/
onMomentumScrollEnd?: (event?: NativeSyntheticEvent<NativeScrollEvent>) => void
/**
* Fires when scroll view has begun moving
*/
onMomentumScrollBegin?: (event?: NativeSyntheticEvent<NativeScrollEvent>) => void
/**
* When true the scroll view stops on multiples of the scroll view's size