remove redundant union type for ItemSeparatorComponent

This commit is contained in:
THORBEN ANDRESEN
2017-11-14 11:33:09 -05:00
parent 887171518e
commit c149a3f9aa

View File

@@ -3728,7 +3728,7 @@ export interface SectionListProperties<ItemT> extends ScrollViewProperties {
/**
* Rendered in between adjacent Items within each section.
*/
ItemSeparatorComponent?: React.ComponentType<any> | (() => React.ReactElement<any>) | null
ItemSeparatorComponent?: React.ComponentType<any> | null
/**
* Rendered when the list is empty.