"use client"; /** * Success Display * * COPIED VERBATIM FROM: components/onboarding/steps/success-step.tsx:53-117 * Renders success hero and next steps cards */ import { CheckCircle2 } from "lucide-react"; import { ANIMATION_CLASSES, getNextStepsLabelStyle, getStaggerStyle, getSuccessHeroStyle, STAGGER_PRESETS, } from "../animations"; import { cx } from "../lib/utils"; import { OnboardingButton } from "../primitives/onboarding-button"; import { OnboardingCard } from "../primitives/onboarding-card"; import type { SuccessDisplayProps } from "../types/fields"; export function SuccessDisplay({ title = "You're all set!", message = "Your setup is complete. Here's what you can do next.", icon, nextSteps = [], }: SuccessDisplayProps) { return (
{message}
Next steps
{nextSteps.map((step, index) => ({step.description}
)}