Add put routes for videos

This commit is contained in:
Zoe Roux
2026-03-10 13:53:55 +01:00
parent ef1486deaf
commit 32bfdb0ce0
10 changed files with 353 additions and 190 deletions
+3
View File
@@ -25,6 +25,7 @@ export const InfiniteFetch = <Data, Type extends string = string>({
Empty,
Divider,
Header,
Footer,
fetchMore = true,
contentContainerStyle,
columnWrapperStyle,
@@ -45,6 +46,7 @@ export const InfiniteFetch = <Data, Type extends string = string>({
incremental?: boolean;
Divider?: true | ComponentType;
Header?: ComponentType<{ children: JSX.Element }> | ReactElement;
Footer?: ComponentType<{ children: JSX.Element }> | ReactElement;
fetchMore?: boolean;
contentContainerStyle?: ViewStyle;
onScroll?: LegendListProps["onScroll"];
@@ -100,6 +102,7 @@ export const InfiniteFetch = <Data, Type extends string = string>({
onRefresh={layout.layout !== "horizontal" ? refetch : undefined}
refreshing={isRefetching}
ListHeaderComponent={Header}
ListFooterComponent={Footer}
ItemSeparatorComponent={
Divider === true ? HR : (Divider as any) || undefined
}