diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index ee306f8545..a7e922e1b1 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3524,6 +3524,13 @@ export interface FlatListProperties { * See `ViewabilityHelper` for flow type and further documentation. */ viewabilityConfig?: any + + /** + * Note: may have bugs (missing content) in some circumstances - use at your own risk. + * + * This may improve scroll performance for large lists. + */ + removeClippedSubviews?: boolean } export interface FlatListStatic extends React.ComponentClass> { @@ -3649,6 +3656,13 @@ export interface SectionListProperties extends ScrollViewProperties { * Render a custom scroll component, e.g. with a differently styled `RefreshControl`. */ renderScrollComponent?: (props: ScrollViewProperties) => React.ReactElement + + /** + * Note: may have bugs (missing content) in some circumstances - use at your own risk. + * + * This may improve scroll performance for large lists. + */ + removeClippedSubviews?: boolean } export interface SectionListStatic extends React.ComponentClass> {