import { SuccessCheck } from 'ui' const STEPS = ['Preparing', 'Upgrading', 'Finalising'] export default function SuccessCheckProgress() { const completedThrough = 1 return (
{STEPS.map((step, index) => { const isCompleted = index < completedThrough const isCurrent = index === completedThrough return (
{isCompleted ? ( ) : ( )} {isCurrent ? `${step}…` : isCompleted ? `${step} complete` : step}
) })}
) }