"use client";
import RunningBelay, { type BelayStage } from "@/components/ui/running-belay";
const stages: BelayStage[] = [
{ id: "build", label: "build", status: "passed", timestamp: "13:41" },
{ id: "canary", label: "canary", status: "passed", timestamp: "13:52" },
{ id: "10pct", label: "10% cohort", status: "passed", timestamp: "14:02" },
{ id: "50pct", label: "50% cohort", status: "active", timestamp: "14:11" },
{ id: "100pct", label: "100% cohort", status: "pending" },
];
export default function RunningBelayDemo() {
return (
<div className="w-full max-w-sm p-6">
<RunningBelay
stages={stages}
headroom={0.72}
onArrest={(targetStageId) => console.log("arrested to", targetStageId)}
/>
</div>
);
}