"use client";
import type { AssertionObject } from "@/lib/api/types";
import { FeedRow } from "./feed-row";
import { FeedEmptyState } from "./feed-empty-state";
import { Button } from "@/components/ui/button";
interface FeedListProps {
assertions: AssertionObject[];
totalCount: number;
hasMore: boolean;
onLoadMore: () => void;
loading: boolean;
}
export function FeedList({
assertions,
totalCount,
hasMore,
onLoadMore,
loading,
}: FeedListProps) {
if (assertions.length === 0) {
return
Showing {assertions.length} of {totalCount} assertions