Skip to content

Commit 2d69cf2

Browse files
dimaMachinaeps1lon
andauthored
[react] Add missing onScrollEnd event (DefinitelyTyped#72078)
Co-authored-by: Sebastian Sebbie Silbermann <[email protected]>
1 parent 115f86d commit 2d69cf2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

types/react/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,6 +2334,8 @@ declare namespace React {
23342334
// UI Events
23352335
onScroll?: UIEventHandler<T> | undefined;
23362336
onScrollCapture?: UIEventHandler<T> | undefined;
2337+
onScrollEnd?: UIEventHandler<T> | undefined;
2338+
onScrollEndCapture?: UIEventHandler<T> | undefined;
23372339

23382340
// Wheel Events
23392341
onWheel?: WheelEventHandler<T> | undefined;

types/react/ts5.0/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,6 +2333,8 @@ declare namespace React {
23332333
// UI Events
23342334
onScroll?: UIEventHandler<T> | undefined;
23352335
onScrollCapture?: UIEventHandler<T> | undefined;
2336+
onScrollEnd?: UIEventHandler<T> | undefined;
2337+
onScrollEndCapture?: UIEventHandler<T> | undefined;
23362338

23372339
// Wheel Events
23382340
onWheel?: WheelEventHandler<T> | undefined;

0 commit comments

Comments
 (0)