mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #16418 from jasonhealy/patch/update-scrollview-proptypes
[react-native] Change ScrollView's snapToInterval prop from array to number
This commit is contained in:
Vendored
+1
-1
@@ -5783,7 +5783,7 @@ export interface ScrollViewPropertiesIOS {
|
||||
* This can be used for paginating through children that have lengths smaller than the scroll view.
|
||||
* Used in combination with snapToAlignment.
|
||||
*/
|
||||
snapToInterval?: number[]
|
||||
snapToInterval?: number
|
||||
|
||||
/**
|
||||
* An array of child indices determining which children get docked to the
|
||||
|
||||
Reference in New Issue
Block a user