import * as React from "react"; type PaymentResultProps = { title: string; subtitle?: string; details?: Array<{ label: string; value: React.ReactNode }>; className?: string; }; export default function PaymentResult({ title, subtitle, details, className, }: PaymentResultProps) { return (
{subtitle}
)} {details?.length ? (