import { ArrowLeft, ChevronLeft, ChevronRight } from 'lucide-react'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import type { ProofStatusFilter } from './reviewTypes'; const PROOF_STATUS_FILTERS: Array<{ value: ProofStatusFilter; label: string; }> = [ { value: 'all', label: 'All' }, { value: 'pending', label: 'Pending' }, { value: 'approved', label: 'Approved' }, { value: 'rejected', label: 'Rejected' }, ]; interface IssueReviewHeaderProps { ticketLabel: string; currentIndex: number; total: number; proofStatus: ProofStatusFilter; onBack: () => void; onPrevious: () => void; onNext: () => void; onProofStatusChange: (status: ProofStatusFilter) => void; } export function IssueReviewHeader({ ticketLabel, currentIndex, total, proofStatus, onBack, onPrevious, onNext, onProofStatusChange, }: IssueReviewHeaderProps) { return (

Repair Review

{ticketLabel}
{PROOF_STATUS_FILTERS.map((filter) => { const isActive = proofStatus === filter.value; return ( ); })}
{total === 0 ? '0 of 0' : `${currentIndex + 1} of ${total}`}
); }