mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 04:45:47 +08:00
Bugfix - Typos
Summary: Fixed few typos in `./Examples` and `./Libraries` folders. Closes https://github.com/facebook/react-native/pull/4788 Reviewed By: svcscm Differential Revision: D2759918 Pulled By: androidtrunkagent fb-gh-sync-id: d692b5c7f561822353e522f9d4dfde7e60b491cf
This commit is contained in:
committed by
facebook-github-bot-4
parent
7871abf907
commit
0e8b207cc3
@@ -20,9 +20,9 @@ var INNERVIEW = 'InnerView';
|
||||
* Wrapper around android native recycler view.
|
||||
*
|
||||
* It simply renders rows passed as children in a separate recycler view cells
|
||||
* similarily to how `ScrollView` is doing it. Thanks to the fact that it uses
|
||||
* similarly to how `ScrollView` is doing it. Thanks to the fact that it uses
|
||||
* native `RecyclerView` though, rows that are out of sight are going to be
|
||||
* automatically detached (similarily on how this would work with
|
||||
* automatically detached (similarly on how this would work with
|
||||
* `removeClippedSubviews = true` on a `ScrollView.js`).
|
||||
*
|
||||
* CAUTION: This is an experimental component and should only be used together
|
||||
|
||||
@@ -184,7 +184,7 @@ var ScrollView = React.createClass({
|
||||
minimumZoomScale: PropTypes.number,
|
||||
/**
|
||||
* Fires at most once per frame during scrolling. The frequency of the
|
||||
* events can be contolled using the `scrollEventThrottle` prop.
|
||||
* events can be controlled using the `scrollEventThrottle` prop.
|
||||
*/
|
||||
onScroll: PropTypes.func,
|
||||
/**
|
||||
@@ -438,7 +438,7 @@ var ScrollView = React.createClass({
|
||||
|
||||
var onRefreshStart = this.props.onRefreshStart;
|
||||
// this is necessary because if we set it on props, even when empty,
|
||||
// it'll trigger the default pull-to-refresh behaviour on native.
|
||||
// it'll trigger the default pull-to-refresh behavior on native.
|
||||
props.onRefreshStart = onRefreshStart
|
||||
? function() { onRefreshStart && onRefreshStart(this.endRefreshing); }.bind(this)
|
||||
: null;
|
||||
|
||||
Reference in New Issue
Block a user