diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index d664018786..3ac47ae968 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6210,6 +6210,11 @@ export interface ScrollViewPropsAndroid { * - 'never' - Never allow a user to over-scroll this view. */ overScrollMode?: "auto" | "always" | "never"; + + /** + * Enables nested scrolling for Android API level 21+. Nested scrolling is supported by default on iOS. + */ + nestedScrollEnabled?: boolean; } export interface ScrollViewProps diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index 4e21cb5c72..a1f3658651 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -390,7 +390,7 @@ class ScrollerListComponentTest extends React.Component<{}, { dataSource: ListVi throw new Error("Expected scroll to be enabled."); } - return ; + return ; }} renderRow={({ type, data }, _, row) => { return Filler;