import type { ExtractionRecordEntry, SearchResultItem } from "../types"; interface EvidenceTableProps { extractions: ExtractionRecordEntry[]; papersById: Map; } export function EvidenceTable({ extractions, papersById }: EvidenceTableProps) { if (extractions.length === 0) { return (

No studies have been included and extracted yet — complete Phase 3 screening and extraction first.

); } return (
{extractions.map((e) => ( ))}
Study Species Route Duration NOAEL LOAEL Effect / finding
{papersById.get(e.paper_id)?.title ?? e.paper_id} {e.species ?? "—"} {e.route ?? "—"} {e.duration ?? "—"} {e.noael ?? "—"} {e.loael ?? "—"} {e.effect_finding ?? "—"}
); }