import { Check, Clock, AlertCircle } from 'lucide-react'; const ShootTimeline = ({ steps, currentStep, onStepClick }) => { const stepIcons = { confirmed: Check, in_progress: Clock, delivered: Check, booked: Clock, photos_ready: Check, }; const stepColors = { completed: 'bg-green-600 text-white', current: 'bg-blue-600 text-white ring-4 ring-blue-200', pending: 'bg-gray-300 text-gray-600', }; const getStepStatus = (stepId) => { const currentIndex = steps.findIndex(s => s.key === currentStep); const stepIndex = steps.findIndex(s => s.key === stepId); if (stepIndex < currentIndex) return 'completed'; if (stepIndex === currentIndex) return 'current'; return 'pending'; }; return (
{step.label}
{status === 'current' && (In Progress
)}Current Step: {steps.find(s => s.key === currentStep)?.label}