mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-19 07:56:34 +00:00
feat(playground): add submission footer component
This commit is contained in:
parent
4a8ad24dcc
commit
dc6794b0ca
@ -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>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user