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