import React from "react"; import { XCircle, Loader2 } from "lucide-react"; interface ProgressBarProps { label: string; progressPercent: number; isCancellable?: boolean; onCancel?: () => void; subLabel?: string; } export const ProgressBar: React.FC = ({ label, progressPercent, isCancellable = true, onCancel, subLabel, }) => { return (
{label}
{Math.round(progressPercent)}% {isCancellable && onCancel && ( )}
{subLabel && (

{subLabel} Offline CP-SAT engine

)}
); };