Skip to content

Commit 4e44376

Browse files
Merge branch 'vishal/web-support-onrefresh' of https://github.com/GetStream/react-native-bidirectional-infinite-scroll into vishal/web-support-onrefresh
2 parents 8cc2c03 + 4e423b3 commit 4e44376

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export type WebFlatListProps<T> = Props<T> & {
66
onScroll: (event: React.UIEvent<'div', UIEvent>) => void;
77
};
88

9+
export type WebFlatListProps<T> = Props<T> & {
10+
ListEmptyComponent: React.ComponentType;
11+
onScroll: (event: React.UIEvent<'div', UIEvent>) => void;
12+
};
13+
914
export type Props<T = unknown> = Omit<
1015
FlatListProps<T>,
1116
'maintainVisibleContentPosition'

0 commit comments

Comments
 (0)