Unbreak doc generation for SectionList

Reviewed By: hramos

Differential Revision: D6018285

fbshipit-source-id: c21deaaa90627936ce29b0212b06640fa38b82f4
This commit is contained in:
Peter Ruibal 2017-10-10 10:34:57 -07:00 коммит произвёл Facebook Github Bot
Родитель 04ff184c12
Коммит e50464d1d7
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -187,11 +187,10 @@ type OptionalProps<SectionT: SectionBase<any>> = {
legacyImplementation?: ?boolean,
};
export type Props<SectionT> = {
...$Exact<RequiredProps<SectionT>>,
...$Exact<OptionalProps<SectionT>>,
...$Exact<VirtualizedSectionListProps<SectionT>>,
};
export type Props<SectionT> = RequiredProps<SectionT> &
OptionalProps<SectionT> &
VirtualizedSectionListProps<SectionT>;
const defaultProps = {
...VirtualizedSectionList.defaultProps,
stickySectionHeadersEnabled: Platform.OS === 'ios',