feat(playground): add submission footer component

This commit is contained in:
cfngc4594 2025-03-01 19:25:50 +08:00
parent 4a8ad24dcc
commit dc6794b0ca

View File

@ -0,0 +1,24 @@
import { cn } from "@/lib/utils";
interface ProblemSubmissionFooterProps {
className?: string;
}
export default function ProblemSubmissionFooter({
className,
...props
}: ProblemSubmissionFooterProps) {
return (
<footer
{...props}
className={cn(
"h-9 flex flex-none items-center bg-muted px-3 py-2",
className
)}
>
<div className="w-full flex items-center justify-center">
<span className="truncate">Submission of Two Sum</span>
</div>
</footer>
);
}