mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(layout): add ProblemDescriptionLayout component for structured layout
This commit is contained in:
parent
844e9f0cca
commit
969932cb00
13
src/app/(app)/playground/@problem/@description/layout.tsx
Normal file
13
src/app/(app)/playground/@problem/@description/layout.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
interface ProblemDescriptionLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function ProblemDescriptionLayout({
|
||||
children,
|
||||
}: ProblemDescriptionLayoutProps) {
|
||||
return (
|
||||
<div className="h-full flex flex-col">
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user