mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(layout): add TerminalTestcaseLayout component for rendering testcase content
This commit is contained in:
parent
f4078cb985
commit
f3303fff3d
13
src/app/(app)/problems/[id]/@terminal/@testcase/layout.tsx
Normal file
13
src/app/(app)/problems/[id]/@terminal/@testcase/layout.tsx
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
interface TerminalTestcaseLayoutProps {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function TerminalTestcaseLayout({
|
||||||
|
children,
|
||||||
|
}: TerminalTestcaseLayoutProps) {
|
||||||
|
return (
|
||||||
|
<div className="h-full flex flex-col">
|
||||||
|
<div className="flex-1">{children}</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user