- ListView<T extends ItemWithId>(
props: Pick<
FlatListProps<T>,
"contentContainerStyle" | "horizontal" | "scrollEnabled",
> & {
isRefreshing?: boolean;
items: ListItemsType<T>;
ListEmptyComponent?: () => Element;
onEndScroll?: () => void;
onRefresh?: () => void;
optimization?: OptimizationListType;
renderItem: RenderItemType<T>;
scrollEnabled?: boolean;
} & { ref?: Ref<FlatList<T>> },
): ReactElement Parameters
- props: Pick<FlatListProps<T>, "contentContainerStyle" | "horizontal" | "scrollEnabled"> & {
isRefreshing?: boolean;
items: ListItemsType<T>;
ListEmptyComponent?: () => Element;
onEndScroll?: () => void;
onRefresh?: () => void;
optimization?: OptimizationListType;
renderItem: RenderItemType<T>;
scrollEnabled?: boolean;
} & { ref?: Ref<FlatList<T>> }
Returns ReactElement