import type { ReactNode } from 'react'; /** How long a success state lingers before the wizard auto-advances, in ms. */ export const SUCCESS_DWELL_MS = 2000; interface OnboardingStepProps { title: ReactNode; subtitle?: ReactNode; /** The interactive body (keyboard diagram, toggle, etc.). */ children?: ReactNode; /** Live feedback line, announced to screen readers. */ status?: ReactNode; /** Actions and hints below the body. */ footer?: ReactNode; } /** Shared layout so every onboarding step keeps the same vertical rhythm. */ export function OnboardingStep({ title, subtitle, children, status, footer, }: OnboardingStepProps) { return (

{title}

{subtitle && (

{subtitle}

)}
{children && (
{children}
)}

{status}

{footer && (
{footer}
)}
); }