Browse files

Fix warning on SectionList's tutorial

Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here:

Happy contributing!


I wanted to fix issue #16231 - the warning is not displayed anymore:

Closes #16232

Differential Revision: D6005386

Pulled By: hramos

fbshipit-source-id: 33961ee7cd708c424c2665a38dc5e733f1ea2204
  • Loading branch information...
gabrielweyer authored and facebook-github-bot committed Oct 7, 2017
1 parent f66c8f2 commit c12681c214d6cd5e7eda59d6b0dfe9d6430bcf9c
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/
@@ -75,6 +75,7 @@ export default class SectionListBasics extends Component {
renderItem={({item}) => <Text style={styles.item}>{item}</Text>}
renderSectionHeader={({section}) => <Text style={styles.sectionHeader}>{section.title}</Text>}
keyExtractor={(item, index) => index}

0 comments on commit c12681c

Please sign in to comment.