mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 08:58:49 +08:00
remove redundant union type for ItemSeparatorComponent
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user