Update ScrollView docs - Fixes #12139

Summary:
Added a note to the `refreshControl` prop on ScrollView to call out that the prop only works for vertical ScrollViews.

Fixes #12139
Closes https://github.com/facebook/react-native/pull/12150

Differential Revision: D4508796

Pulled By: mkonicek

fbshipit-source-id: 8e71692f29ee175e32177c3a26a4ed2e8d14f139
This commit is contained in:
Jon Cursi 2017-02-03 12:23:18 -08:00 committed by Facebook Github Bot
parent e93d496f6d
commit f4bbf1bc62
1 changed files with 2 additions and 1 deletions

View File

@ -326,7 +326,8 @@ const ScrollView = React.createClass({
/**
* A RefreshControl component, used to provide pull-to-refresh
* functionality for the ScrollView.
* functionality for the ScrollView. Only works for vertical ScrollViews
* (`horizontal` prop must be `false`).
*
* See [RefreshControl](docs/refreshcontrol.html).
*/