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:
Eloy Durán
2017-05-10 08:21:06 +02:00
committed by GitHub
+1 -1
View File
@@ -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