react-native/Libraries/Lists
liushigit c7d37a208a Correcting a mistake in the minimal example in the FlatList doc
Summary:
The list items' selected state is inside the `selected` Map, not inside the `state`.

This PR corrects a small mistake in the minimal example in the Documentatioin of the FlatList component.

1. Create a vanilla React Native project.
2. Create the components involved in the minimal example of FlatList.
3. Run to see if the `selected` property of the `MyListItem` changes as intended.

Currently the example has this mistake so an error will show up when running:
![2017-05-05 2 00 12](https://cloud.githubusercontent.com/assets/5442413/25735154/c091f11a-319b-11e7-9646-427c6a56f901.png)
Closes https://github.com/facebook/react-native/pull/13795

Differential Revision: D5010105

Pulled By: javache

fbshipit-source-id: 09585cea2f2e3e6746419ef54ef8da9dbdb8dbb1
2017-05-05 11:49:26 -07:00
..
ListView Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
__flowtests__ Re-License Lists with standard React Native License 2017-03-24 14:31:19 -07:00
__tests__ Add ListEmptyComponent prop 2017-05-04 00:16:25 -07:00
FillRateHelper.js Many improvements 2017-04-25 14:50:14 -07:00
FlatList.js Correcting a mistake in the minimal example in the FlatList doc 2017-05-05 11:49:26 -07:00
MetroListView.js Upgrade to v0.44.0 2017-04-17 09:33:20 -07:00
SectionList.js Add ListEmptyComponent prop 2017-05-04 00:16:25 -07:00
ViewabilityHelper.js Re-License Lists with standard React Native License 2017-03-24 14:31:19 -07:00
VirtualizeUtils.js Many improvements 2017-04-25 14:50:14 -07:00
VirtualizedList.js Add ListEmptyComponent prop 2017-05-04 00:16:25 -07:00
VirtualizedSectionList.js use $ReadOnlyArray for section stuff 2017-05-03 10:34:57 -07:00