import { FileText, MessageSquare } from "lucide-react"; import { Group, Stack, Text, Badge, ThemeIcon } from "@mantine/core"; import { SectionCard } from "./SectionCard"; import { formatDateTime, type BookingReviewNoteView } from "./booking-detail.styles"; export interface BookingReviewNotesCardProps { notes: BookingReviewNoteView[]; } /** Chronological list of reviewer / compliance notes. */ export function BookingReviewNotesCard({ notes }: BookingReviewNotesCardProps) { if (notes.length === 0) { return ( No review notes have been added yet. ); } return ( {notes.map((note) => ( {note.type} {formatDateTime(note.createdAt)} {note.note} ))} ); }