Merge pull request #17926 from kohkimakimoto/add-types-for-sectionlist

[react-native] Add type `renderSectionFooter` for SectionList
This commit is contained in:
Eloy Durán
2017-07-11 12:54:54 +02:00
committed by GitHub
+5
View File
@@ -3715,6 +3715,11 @@ export interface SectionListProperties<ItemT> extends ScrollViewProperties {
*/
renderSectionHeader?: (info: {section: SectionListData<ItemT>}) => React.ReactElement<any> | null
/**
* Rendered at the bottom of each section.
*/
renderSectionFooter?: (info: {section: SectionListData<ItemT>}) => React.ReactElement<any> | null
/**
* An array of objects with data for each section.
*/