Skip to content

Commit 4eb05b7

Browse files
committed
Remove ScrollView onScrollAnimationEnd props as it has been remove since RN 0.48
Closes #328
1 parent 3e65b4f commit 4eb05b7

4 files changed

Lines changed: 2 additions & 13 deletions

File tree

‎lib/js/src/components/scrollView.js‎

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/components/animatedComponents.rei‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ module ScrollView: {
6666
~indicatorStyle: [ | `black | `default | `white]=?,
6767
~maximumZoomScale: float=?,
6868
~minimumZoomScale: float=?,
69-
~onScrollAnimationEnd: unit => unit=?,
7069
~scrollEventThrottle: int=?,
7170
~scrollIndicatorInsets: Types.insets=?,
7271
~scrollsToTop: bool=?,

‎src/components/scrollView.re‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ module type ScrollViewComponent = {
5555
~indicatorStyle: [ | `default | `black | `white]=?,
5656
~maximumZoomScale: float=?,
5757
~minimumZoomScale: float=?,
58-
~onScrollAnimationEnd: unit => unit=?,
5958
~scrollEventThrottle: int=?,
6059
~scrollIndicatorInsets: Types.insets=?,
6160
~scrollsToTop: bool=?,
@@ -145,7 +144,6 @@ module CreateComponent = (Impl: View.Impl) : ScrollViewComponent => {
145144
~indicatorStyle=?,
146145
~maximumZoomScale=?,
147146
~minimumZoomScale=?,
148-
~onScrollAnimationEnd=?,
149147
~scrollEventThrottle=?,
150148
~scrollIndicatorInsets=?,
151149
~scrollsToTop=?,
@@ -221,7 +219,6 @@ module CreateComponent = (Impl: View.Impl) : ScrollViewComponent => {
221219
),
222220
"maximumZoomScale": maximumZoomScale,
223221
"minimumZoomScale": minimumZoomScale,
224-
"onScrollAnimationEnd": onScrollAnimationEnd,
225222
"scrollEventThrottle": scrollEventThrottle,
226223
"scrollIndicatorInsets": scrollIndicatorInsets,
227224
"scrollsToTop": scrollsToTop,

‎src/components/scrollView.rei‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ module type ScrollViewComponent = {
160160
{[
161161
~minimumZoomScale: float=?,
162162
]}
163-
{4 onScrollAnimationEnd}
164-
{[
165-
~onScrollAnimationEnd: unit => unit=?,
166-
]}
167163
{4 scrollEventThrottle}
168164
{[
169165
~scrollEventThrottle: int=?,
@@ -274,7 +270,6 @@ module type ScrollViewComponent = {
274270
~indicatorStyle: [ | `black | `default | `white]=?,
275271
~maximumZoomScale: float=?,
276272
~minimumZoomScale: float=?,
277-
~onScrollAnimationEnd: unit => unit=?,
278273
~scrollEventThrottle: int=?,
279274
~scrollIndicatorInsets: Types.insets=?,
280275
~scrollsToTop: bool=?,

0 commit comments

Comments
 (0)