import type { ReactNode } from 'react' import { cn } from 'ui' interface SupportSuccessSectionProps { icon?: ReactNode title: string description: ReactNode action?: ReactNode children?: ReactNode className?: string headerClassName?: string } export function SupportSuccessSection({ icon, title, description, action, children, className, headerClassName, }: SupportSuccessSectionProps) { const hasIcon = icon !== undefined return (
{hasIcon && (
{icon}
)}

{title}

{description}
{action &&
{action}
}
{children &&
{children}
}
) }