Update ScrollView.js
Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: > **Unless you are a React Native release maintainer and cherry-picking an *existing* commit into a current release, ensure your pull request is targeting the `master` React Native branch.** Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). For more info, see Closes https://github.com/facebook/react-native/pull/10157 Differential Revision: D3974091 Pulled By: javache fbshipit-source-id: c756fb82422253bb9098c37fbcb5637e58e53340
This commit is contained in:
parent
f77185f27e
commit
91d266ba87
|
@ -251,10 +251,12 @@ const ScrollView = React.createClass({
|
||||||
scrollsToTop: PropTypes.bool,
|
scrollsToTop: PropTypes.bool,
|
||||||
/**
|
/**
|
||||||
* When true, shows a horizontal scroll indicator.
|
* When true, shows a horizontal scroll indicator.
|
||||||
|
* The default value is true.
|
||||||
*/
|
*/
|
||||||
showsHorizontalScrollIndicator: PropTypes.bool,
|
showsHorizontalScrollIndicator: PropTypes.bool,
|
||||||
/**
|
/**
|
||||||
* When true, shows a vertical scroll indicator.
|
* When true, shows a vertical scroll indicator.
|
||||||
|
* The default value is true.
|
||||||
*/
|
*/
|
||||||
showsVerticalScrollIndicator: PropTypes.bool,
|
showsVerticalScrollIndicator: PropTypes.bool,
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue