mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
missing '.' in ListView.DataSource example
Summary: The `ListView.DataSource` example is missing a period. Previously looked like a method i.e.` ListViewDataSource` Closes https://github.com/facebook/react-native/pull/520 Github Author: Cspeisman <Cspeisman@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
19969149ad
commit
50dc709f01
@ -61,7 +61,7 @@ var SCROLLVIEW_REF = 'listviewscroll';
|
|||||||
*
|
*
|
||||||
* ```
|
* ```
|
||||||
* getInitialState: function() {
|
* getInitialState: function() {
|
||||||
* var ds = new ListViewDataSource({rowHasChanged: (r1, r2) => r1 !== r2});
|
* var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
|
||||||
* return {
|
* return {
|
||||||
* dataSource: ds.cloneWithRows(['row 1', 'row 2']),
|
* dataSource: ds.cloneWithRows(['row 1', 'row 2']),
|
||||||
* };
|
* };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user