Open this example in the interactive library
Live preview
Source code
// components/OrderedMilestoneSummary.tsx
export default function OrderedMilestoneSummary({
steps = ["Prepare", "Build", "Review"],
}: { steps?: string[] } = {}) {
return (
<ol>
{steps.map((s, i) => (
<li key={i}>
<strong>Milestone {i + 1}</strong>: {s}
</li>
))}
</ol>
);
}
