diff --git a/Libraries/Lists/SectionList.js b/Libraries/Lists/SectionList.js index 42fe99d6c50..339b185f73b 100644 --- a/Libraries/Lists/SectionList.js +++ b/Libraries/Lists/SectionList.js @@ -23,7 +23,7 @@ import type {Props as VirtualizedSectionListProps} from 'VirtualizedSectionList' type Item = any; -type SectionBase = { +export type SectionBase = { /** * The data for rendering items in this section. */ @@ -187,10 +187,11 @@ type OptionalProps> = { legacyImplementation?: ?boolean, }; -export type Props = RequiredProps & - OptionalProps & - VirtualizedSectionListProps; - +export type Props = { + ...$Exact>, + ...$Exact>, + ...$Exact>, +}; const defaultProps = { ...VirtualizedSectionList.defaultProps, stickySectionHeadersEnabled: Platform.OS === 'ios',