Clarity in pagingEnabled description for ScrollView

Summary:
Current description is misleading (without looking at implementation) to believe that both horizontal and vertical pagination are supported on both platforms. This comment clarifies that vertical pagination is not supported on Android.
Closes https://github.com/facebook/react-native/pull/14844

Differential Revision: D5393488

Pulled By: hramos

fbshipit-source-id: e79246a65e1011b2667e7eea67e85e17394026a8
This commit is contained in:
Sean Wang 2017-07-10 17:41:19 -07:00 committed by Facebook Github Bot
parent 8f363b2c49
commit 88fb45ddf9
1 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,8 @@ const ScrollView = createReactClass({
* When true, the scroll view stops on multiples of the scroll view's size
* when scrolling. This can be used for horizontal pagination. The default
* value is false.
*
* Note: Vertical pagination is not supported on Android.
*/
pagingEnabled: PropTypes.bool,
/**