Changed typing to React.ComponentType

This commit is contained in:
mcousillas6
2017-08-15 08:59:40 -03:00
parent 6f13f3dcba
commit 468ccddeac
+1 -1
View File
@@ -3491,7 +3491,7 @@ export interface FlatListProperties<ItemT> extends VirtualizedListProperties<Ite
/**
* Rendered in between each item, but not at the top or bottom
*/
ItemSeparatorComponent?: React.ComponentClass<any> | React.ReactElement<any> | (() => React.ReactElement<any>) | null
ItemSeparatorComponent?: React.ComponentType<any> | null
/**
* Rendered when the list is empty.