mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-07-04 01:10:53 +00:00
17 lines
426 B
TypeScript
17 lines
426 B
TypeScript
|
import { Suspense } from "react";
|
||
|
import { Loading } from "@/components/loading";
|
||
|
|
||
|
interface TestcaseLayoutProps {
|
||
|
children: React.ReactNode;
|
||
|
}
|
||
|
|
||
|
export default function TestcaseLayout({ children }: TestcaseLayoutProps) {
|
||
|
return (
|
||
|
<div className="relative h-full border border-t-0 border-muted rounded-b-3xl bg-background">
|
||
|
<Suspense fallback={<Loading />}>
|
||
|
{children}
|
||
|
</Suspense>
|
||
|
</div>
|
||
|
);
|
||
|
}
|