"use client"; import { useState } from "react"; type Props = { reportMarkdown: string; }; export default function Reports({ reportMarkdown }: Props) { const [message, setMessage] = useState(""); const handleCopy = async () => { try { await navigator.clipboard.writeText(reportMarkdown); setMessage("Report copied to clipboard."); } catch { setMessage("Unable to copy report."); } window.setTimeout(() => setMessage(""), 2000); }; return (
Exportable Markdown summary for decision makers and legal review.
{reportMarkdown}
Complete an agentic analysis to compile the final report.