Unbreak doc generation for SectionList
Reviewed By: hramos Differential Revision: D6018285 fbshipit-source-id: c21deaaa90627936ce29b0212b06640fa38b82f4
This commit is contained in:
Родитель
04ff184c12
Коммит
e50464d1d7
|
@ -187,11 +187,10 @@ type OptionalProps<SectionT: SectionBase<any>> = {
|
||||||
legacyImplementation?: ?boolean,
|
legacyImplementation?: ?boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Props<SectionT> = {
|
export type Props<SectionT> = RequiredProps<SectionT> &
|
||||||
...$Exact<RequiredProps<SectionT>>,
|
OptionalProps<SectionT> &
|
||||||
...$Exact<OptionalProps<SectionT>>,
|
VirtualizedSectionListProps<SectionT>;
|
||||||
...$Exact<VirtualizedSectionListProps<SectionT>>,
|
|
||||||
};
|
|
||||||
const defaultProps = {
|
const defaultProps = {
|
||||||
...VirtualizedSectionList.defaultProps,
|
...VirtualizedSectionList.defaultProps,
|
||||||
stickySectionHeadersEnabled: Platform.OS === 'ios',
|
stickySectionHeadersEnabled: Platform.OS === 'ios',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче