--- import Button from './Button.astro'; interface Action { href: string; label: string; } interface Step { label: string; description: string; actions?: Action[]; } interface Props { steps: Step[]; } const { steps } = Astro.props; ---
    {steps.map(({ label, description, actions }) => (
  1. {label} {description} {actions?.length ? ( {actions.map((action) => ( ))} ) : null}
  2. ))}