change snapToInterval prop from array to number

This commit is contained in:
Jason Healy
2017-05-09 16:35:13 +01:00
parent 1550dfd1b8
commit eab9a9239c
+1 -1
View File
@@ -5769,7 +5769,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