1import { AgentSteps } from "@/components/mizzle/ai/agent-steps"
2
3<AgentSteps
4 title="Restore photo uploads"
5 steps={[
6 { id: "1", title: "Read the error alerts", state: "done", time: "6s" },
7 {
8 id: "2",
9 title: "Rotate the storage key",
10 state: "active",
11 label: "Fixing",
12 startedAt: Date.now(),
13 items: [{ id: "a", text: "Traced the 502s to the upload worker", meta: "worker.ts:88" }],
14 },
15 { id: "3", title: "Post an update on the status page", state: "pending" },
16 { id: "4", title: "Close the incident", state: "approval" },
17 ]}
18 onApprove={(step) => approve(step.id)}
19 onDeny={(step) => skip(step.id)}
20/>