Rename *Component props to match SectionList

Reviewed By: yungsters

Differential Revision: D4697335

fbshipit-source-id: 742b7a1729ba7a08fe3d9707bcf6c51026779739
This commit is contained in:
Spencer Ahrens
2017-03-13 09:41:30 -07:00
committed by Facebook Github Bot
parent ac452c0a17
commit 3ce31c24da
6 changed files with 24 additions and 41 deletions

View File

@@ -97,9 +97,9 @@ class MultiColumnExample extends React.PureComponent {
</View>
<SeparatorComponent />
<FlatList
FooterComponent={FooterComponent}
HeaderComponent={HeaderComponent}
SeparatorComponent={SeparatorComponent}
ItemSeparatorComponent={SeparatorComponent}
ListFooterComponent={FooterComponent}
ListHeaderComponent={HeaderComponent}
getItemLayout={this.state.fixedHeight ? this._getItemLayout : undefined}
data={filteredData}
key={this.state.numColumns + (this.state.fixedHeight ? 'f' : 'v')}