"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 ; } return (
{/* Table header - hidden on mobile */}
Time
Subject
Predicate
Value
Source
{/* Rows */}
{assertions.map((entry) => ( ))}
{/* Load more */} {hasMore && (
)} {/* Summary */}

Showing {assertions.length} of {totalCount} assertions

); }