Skip to content

Commit

Permalink
fix(ts): component header, footer and empty types
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocesarato committed Jun 6, 2021
1 parent 443ead6 commit af90665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ interface BigListProps extends ScrollViewProps {
itemHeight?: string | number | (() => number);
keyboardDismissMode?: string;
keyboardShouldPersistTaps?: string;
ListEmptyComponent?: React.ReactElement;
ListFooterComponent?: React.ReactElement;
ListEmptyComponent?: React.ReactNode;
ListFooterComponent?: React.ReactNode;
ListFooterComponentStyle?: object | unknown[];
ListHeaderComponent?: React.ReactElement;
ListHeaderComponent?: React.ReactNode;
ListHeaderComponentStyle?: object | unknown[];
onLayout?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
onScroll?(event: NativeSyntheticEvent<NativeScrollEvent>): void;
Expand Down

0 comments on commit af90665

Please sign in to comment.