mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Add missing onMomentum* properties to ScrollView. (#13732)
Added missing definitions for onMomentumScrollBegin & onMomentumScrollEnd.
This commit is contained in:
Vendored
+10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user