import type { ReactNode } from 'react'; interface Step { title: string; content: ReactNode; } interface StepGuideProps { steps: Step[]; } export function StepGuide({ steps }: StepGuideProps) { return (
{steps.map((step, index) => (
{index + 1}
{index < steps.length - 1 && (
)}

{step.title}

{step.content}
))}
); }