Commit e42fafc 1 parent b440964 commit e42fafc Copy full SHA for e42fafc
File tree 1 file changed +4
-4
lines changed
src/components/bottomSheetScrollable
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import type {
6
6
RefObject ,
7
7
} from 'react' ;
8
8
import type {
9
- ScrollView ,
10
9
VirtualizedListProps ,
11
10
ScrollViewProps ,
12
11
FlatListProps ,
@@ -15,6 +14,7 @@ import type {
15
14
View ,
16
15
ScrollViewComponent ,
17
16
NodeHandle ,
17
+ ScrollResponderMixin ,
18
18
} from 'react-native' ;
19
19
import type Animated from 'react-native-reanimated' ;
20
20
import type { ScrollEventsHandlersHookType } from '../../types' ;
@@ -114,7 +114,7 @@ export interface BottomSheetFlatListMethods {
114
114
/**
115
115
* Provides a handle to the underlying scroll responder.
116
116
*/
117
- getScrollResponder : ( ) => ReactNode | null | undefined ;
117
+ getScrollResponder : ( ) => ScrollResponderMixin | null | undefined ;
118
118
119
119
/**
120
120
* Provides a reference to the underlying host component
@@ -175,7 +175,7 @@ export interface BottomSheetScrollViewMethods {
175
175
* implement this method so that they can be composed while providing access
176
176
* to the underlying scroll responder's methods.
177
177
*/
178
- getScrollResponder ( ) : ReactNode ;
178
+ getScrollResponder ( ) : ScrollResponderMixin ;
179
179
180
180
getScrollableNode ( ) : any ;
181
181
@@ -231,7 +231,7 @@ export interface BottomSheetSectionListMethods {
231
231
/**
232
232
* Provides a handle to the underlying scroll responder.
233
233
*/
234
- getScrollResponder ( ) : ScrollView | undefined ;
234
+ getScrollResponder ( ) : ScrollResponderMixin | undefined ;
235
235
236
236
/**
237
237
* Provides a handle to the underlying scroll node.
You can’t perform that action at this time.
0 commit comments