diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index f6950d700f..3d92f7ddd4 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6211,6 +6211,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 2f8d504338..a9e3944a9b 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -391,7 +391,7 @@ class ScrollerListComponentTest extends React.Component<{}, { dataSource: ListVi throw new Error("Expected scroll to be enabled."); } - return ; + return ; }} renderRow={({ type, data }, _, row) => { return Filler;