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 (
Confirm the source, output, dependencies, and destination before the backend starts.{title}
{dependencies.map((item) => (