import { Panel } from "./Panel"; type ProjectPanelProps = { sectionTitle: string; sectionStatus: string; commitCount: number; latestCommitLabel: string | null; }; export function ProjectPanel({ sectionTitle, sectionStatus, commitCount, latestCommitLabel, }: ProjectPanelProps) { return (
{sectionTitle}
Status: {sectionStatus}
Commits: {commitCount}
{latestCommitLabel ? ( {latestCommitLabel} ) : ( Chưa có head commit )}
); }