import React from "react"; import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; /** * Full-screen success card shown after a loan application is submitted. * Extracted from the submitted/ page in the loan application flow. */ export type SubmissionConfirmationCardProps = { onViewSubmission?: () => void; className?: string; }; function CircleCheckIcon({ className }: { className?: string }) { return ( ); } export function SubmissionConfirmationCard({ onViewSubmission, className, }: SubmissionConfirmationCardProps) { return (
Awesome!
You've submitted your loan application!
Your broker will take a look at your loan application and get back to you with the results soon!
{onViewSubmission && ( )}