import React, { useState } from 'react'; import { Trash2, Plus, CheckCircle2, ExternalLink, FileText } from 'lucide-react'; import { Competitor } from '../types'; interface StepReviewProps { competitors: Competitor[]; onRemove: (id: string) => void; onAdd: (name: string) => void; onConfirm: () => void; hasResults?: boolean; onShowReport?: () => void; } export const StepReview: React.FC = ({ competitors, onRemove, onAdd, onConfirm, hasResults, onShowReport }) => { const [newCompany, setNewCompany] = useState(''); const handleAdd = (e: React.FormEvent) => { e.preventDefault(); if (newCompany.trim()) { onAdd(newCompany.trim()); setNewCompany(''); } }; return (

Confirm Target List

Review the identified companies before starting the deep tech audit.

{competitors.length} Companies
    {competitors.map((comp) => (
  • {comp.name} {comp.url && ( )}
    {comp.description && (

    {comp.description}

    )}
  • ))} {competitors.length === 0 && (
  • No companies in list. Add some manually below.
  • )}
setNewCompany(e.target.value)} placeholder="Add another company manually..." className="flex-1 px-4 py-2 rounded-lg border border-slate-300 focus:border-indigo-500 focus:ring-2 focus:ring-indigo-500/20 outline-none" />
{/* Sticky Footer CTA */}
{hasResults && onShowReport && ( )}
); };