From 0606ec897155546ba9d69a9d881138b6c0d24e69 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Wed, 26 Feb 2025 11:09:31 +0800 Subject: [PATCH] feat(layout): add ProblemSolutionLayout component for flexible layout structure --- .../(app)/playground/@problem/@solution/layout.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/app/(app)/playground/@problem/@solution/layout.tsx diff --git a/src/app/(app)/playground/@problem/@solution/layout.tsx b/src/app/(app)/playground/@problem/@solution/layout.tsx new file mode 100644 index 0000000..d3665b0 --- /dev/null +++ b/src/app/(app)/playground/@problem/@solution/layout.tsx @@ -0,0 +1,13 @@ +interface ProblemSolutionLayoutProps { + children: React.ReactNode; +} + +export default function ProblemSolutionLayout({ + children, +}: ProblemSolutionLayoutProps) { + return ( +
+ {children} +
+ ); +}