Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Fix warning on SectionList's tutorial #219

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/0.51/using-a-listview.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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}
/>
</View>
);
Expand Down