import type React from 'react' import { Clock, FolderOpen, ListChecks, Play, ShieldCheck } from 'lucide-react' export interface ReviewItem { label: string value: React.ReactNode } export function RunReviewPanel({ title = 'Review before start', source, output, project, settings, dependencies, destination = 'Backend output folders', estimate, onStart, startLabel = 'Start run', disabled, busy, }: { title?: string source: ReviewItem[] output: ReviewItem[] project?: ReviewItem[] settings?: ReviewItem[] dependencies?: ReviewItem[] destination?: React.ReactNode estimate?: React.ReactNode onStart?: () => void startLabel?: string disabled?: boolean busy?: boolean }) { return (

{title}

Confirm the source, output, dependencies, and destination before the backend starts.

{project && project.length > 0 && } {settings && settings.length > 0 && }
{estimate && (
Estimated time
{estimate}
)}
Output destination
{destination}
{dependencies && dependencies.length > 0 && (
Dependencies
{dependencies.map((item) => (
{item.label}
{item.value}
))}
)}
{onStart && ( )}
) } function ReviewGroup({ title, items }: { title: string; items: ReviewItem[] }) { return (
{title}
{items.map((item) => (
{item.label}
{item.value}
))}
) }