import { Icon } from '../ui/Icon.tsx'; import { Button } from './Button.tsx'; export type SetupStepData = { state: 'done' | 'next' | 'todo'; title: string; detail: string }; const STATE_LABEL = { done: 'Done', next: 'Next', todo: 'To do' } as const; type Props = { steps: readonly SetupStepData[]; onContinue?: (() => void) | undefined }; /** The first-run checklist: what is done, what is next (with Continue), and what is still to do. */ export function SetupChecklist({ steps, onContinue }: Props) { return (