import React from "react"; import { DocumentSuggestion, TagOption } from "../DocumentProcessor"; import SuggestionCard from "./SuggestionCard"; interface SuggestionsReviewProps { suggestions: DocumentSuggestion[]; availableTags: TagOption[]; onTitleChange: (docId: number, title: string) => void; onTagAddition: (docId: number, tag: TagOption) => void; onTagDeletion: (docId: number, index: number) => void; onBack: () => void; onUpdate: () => void; updating: boolean; } const SuggestionsReview: React.FC = ({ suggestions, availableTags, onTitleChange, onTagAddition, onTagDeletion, onBack, onUpdate, updating, }) => (

Review and Edit Suggested Titles

{suggestions.map((doc) => ( ))}
); export default SuggestionsReview;