@@ -62,56 +62,55 @@ export type SharedScrollContainerProps = {
6262 HeaderComponent : ( props : ScrollHeaderProps ) => React . ReactNode ;
6363 /**
6464 * This is executed when the onLayout event is fired on the large header container component.
65- *
66- * @param {LayoutRectangle } rect
6765 */
6866 onLargeHeaderLayout ?: ( rect : LayoutRectangle ) => void ;
6967 /**
7068 * The large header's container style.
7169 *
7270 * @default undefined
73- * @type {StyleProp<ViewStyle> }
7471 */
7572 largeHeaderContainerStyle ?: StyleProp < ViewStyle > ;
7673 /**
7774 * The style of the root container of the scoll container.
7875 *
7976 * @default undefined
80- * @type {StyleProp<ViewStyle> }
8177 */
8278 containerStyle ?: StyleProp < ViewStyle > ;
8379 /**
8480 * Whether the scroll container should ignore the left safe area. This is useful for landscape
8581 * mode on iOS where devices have a notch/status bar on the left side.
82+ *
83+ * @default false
8684 */
8785 ignoreLeftSafeArea ?: boolean ;
8886 /**
8987 * Whether the scroll container should ignore the right safe area. This is useful for landscape
9088 * mode on iOS where devices have a notch/status bar on the right side.
89+ *
90+ * @default false
9191 */
9292 ignoreRightSafeArea ?: boolean ;
9393 /**
94- * Fires if a user initiates a scroll gesture.
94+ * Disables the auto fix scroll mechanism. This is useful if you want to disable the auto scroll
95+ * when the large header is partially visible.
9596 *
96- * @param {NativeSyntheticEvent<NativeScrollEvent> } event
97+ * @default false
98+ */
99+ disableAutoFixScroll ?: boolean ;
100+ /**
101+ * Fires if a user initiates a scroll gesture.
97102 */
98103 onScrollBeginDrag ?: ( event : NativeSyntheticEvent < NativeScrollEvent > ) => void ;
99104 /**
100105 * Fires when a user has finished scrolling.
101- *
102- * @param {NativeSyntheticEvent<NativeScrollEvent> } event
103106 */
104107 onScrollEndDrag ?: ( event : NativeSyntheticEvent < NativeScrollEvent > ) => void ;
105108 /**
106109 * Fires when scroll view has begun moving.
107- *
108- * @param {NativeSyntheticEvent<NativeScrollEvent> } event
109110 */
110111 onMomentumScrollBegin ?: ( event : NativeSyntheticEvent < NativeScrollEvent > ) => void ;
111112 /**
112113 * Fires when scroll view has finished moving.
113- *
114- * @param {NativeSyntheticEvent<NativeScrollEvent> } event
115114 */
116115 onMomentumScrollEnd ?: ( event : NativeSyntheticEvent < NativeScrollEvent > ) => void ;
117116} ;
0 commit comments