import { ReactNode } from "react"; import CheckIcon from "../icons/CheckIcon"; import { useApp } from "../../../hooks"; import Link from "next/link"; interface Props { title?: string; text?: ReactNode | string; redirect?: string; children?: ReactNode; } export default function SuccessBanner({ title, text = "", redirect, children }: Props) { const { t } = useApp(); return (