Skip to content

Commit 9a0fbe7

Browse files
committed
Remove onScroll from Omit for BottomSheetFlatList and BottomSheetFlashList
1 parent 96373c6 commit 9a0fbe7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/bottomSheetScrollable/types.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export type ScrollableProps<T> =
6969
//#region FlatList
7070
export type BottomSheetFlatListProps<T> = Omit<
7171
Animated.AnimateProps<FlatListProps<T>>,
72-
'decelerationRate' | 'onScroll' | 'scrollEventThrottle'
72+
'decelerationRate' | 'scrollEventThrottle'
7373
> &
7474
BottomSheetScrollableProps & {
7575
ref?: Ref<BottomSheetFlatListMethods>;
@@ -148,7 +148,6 @@ export interface BottomSheetFlatListMethods {
148148
export type BottomSheetFlashListProps<T> = Omit<
149149
FlashListProps<T>,
150150
| 'decelerationRate'
151-
| 'onScroll'
152151
| 'scrollEventThrottle'
153152
| 'renderScrollComponent'
154153
> &

0 commit comments

Comments
 (0)