diff --git a/src/components/DraggableFlatList.tsx b/src/components/DraggableFlatList.tsx index d7d98c27..a5fd1a1b 100644 --- a/src/components/DraggableFlatList.tsx +++ b/src/components/DraggableFlatList.tsx @@ -402,20 +402,21 @@ function DraggableFlatListInner(props: DraggableFlatListProps) { } function DraggableFlatList( - props: DraggableFlatListProps, + {ListFooterComponent, ListHeaderComponent, ...props}: DraggableFlatListProps, ref?: React.ForwardedRef> | null ) { return ( - + ); } + const MemoizedInner = typedMemo(DraggableFlatListInner); // Generic forwarded ref type assertion taken from: