From d35d7d3acd5b54f269a506c6cd980967c0a70f51 Mon Sep 17 00:00:00 2001 From: Urtaq Date: Tue, 5 Dec 2017 10:32:39 +0900 Subject: [PATCH] [@types/react-native] add ''contentInsetAdjustmentBehavior" to the ScrollViewPropertiesIOS. --- types/react-native/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index c7662b4c0b..edc3e84df5 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5689,6 +5689,12 @@ export interface ScrollViewPropertiesIOS { */ contentOffset?: PointProperties; // zeros + /** + * This property specifies how the safe area insets are used to modify the content area of the scroll view. + * The default value of this property must be 'automatic'. But the default value is 'never' until RN@0.51. + */ + contentInsetAdjustmentBehavior?: "automatic" | "scrollableAxes" | "never" | "always"; + /** * A floating-point number that determines how quickly the scroll view * decelerates after the user lifts their finger. Reasonable choices include